-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix docker mongo setup #27
Comments
- Updated server docker-compose.yml to add container name and new volume - Updated main README.md to add a note on MONGO_HOST configuration - Added mongo-init.sh to initialize mongodb container Fixes CodingGarden#27 💚
I found some missing bits and pieces here and there. The main one was the initialization script, when we config the To solve this issue I created a simple script to add the |
I forgot to mention that If the database has already been created remember to remove the |
- Rolled back previous changes after feedback - Updated docker-compose.yml - Updated gitignore - Added initialization scripts for db and api - Added placeholder file Fixes CodingGarden#27 💚
PR updated with the changes requested. EDIT: I saw you had a bit of hard time understanding/remembering (no offence intended) what's going on. I should have added a comment explaining what I've done. Sorry about that. |
- Rolled back previous changes on gitignore - Updated docker-compose.yml - Updated db and api initialization scripts - Deleted placeholder file Fixes CodingGarden#27 💚
On first or second stream you were having issues with docker and mongodb. The impression from the stream was the db service was delaying the start up somehow. The issue is also referenced on the docker-compose.yml as a comment.
I'm creating this issue to start a discussion (if required), have a quick look on the setup and also reference it on future PR.
The text was updated successfully, but these errors were encountered: