Skip to content

Add optional remote MongoDB replica deployment - #765

Merged
tdurieux merged 1 commit into
mainfrom
codex/mongodb-replica-option
Jul 30, 2026
Merged

Add optional remote MongoDB replica deployment#765
tdurieux merged 1 commit into
mainfrom
codex/mongodb-replica-option

Conversation

@tdurieux

Copy link
Copy Markdown
Owner

Summary

  • add primary and secondary Docker Compose configurations for an authenticated rs0 replica set
  • add idempotent setup commands for a hidden, non-voting, optionally delayed secondary
  • support complete MONGODB_URI connection strings while preserving standalone defaults
  • document secure two-server deployment and recovery operations

Validation

  • npm run build
  • MongoDB connection tests (2 passing)
  • shell syntax validation for replica scripts
  • Docker Compose validation for primary and secondary configurations

Notes

  • the two-server topology is intentionally recovery-oriented, not automatic failover
  • the remote member defaults to hidden, non-voting, priority 0, and a one-hour delay
  • replication complements but does not replace off-host backups

@tdurieux
tdurieux force-pushed the codex/mongodb-replica-option branch from 75d5f17 to 27b0d7f Compare July 30, 2026 00:28
@tdurieux
tdurieux merged commit debd83c into main Jul 30, 2026
2 checks passed
@tdurieux
tdurieux deleted the codex/mongodb-replica-option branch July 30, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant