Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline replica set initialization #459

Open
terror opened this issue Nov 13, 2023 · 0 comments
Open

Streamline replica set initialization #459

terror opened this issue Nov 13, 2023 · 0 comments

Comments

@terror
Copy link
Owner

terror commented Nov 13, 2023

We currently have to do this nonsense when initializing the replica set in our development environment:

services:
  docker compose up --no-recreate -d
  sleep 5
  docker exec mongodb mongosh --quiet --eval 'rs.initiate()' > /dev/null 2>&1 || true

Can we make it so we execute the command during the compose up process?

@terror terror moved this to Todo in mcgill.courses Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant