Skip to content

update mongo connection string with proper mongo host during docker build #13

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

Merged
merged 1 commit into from
Nov 14, 2020
Merged

update mongo connection string with proper mongo host during docker build #13

merged 1 commit into from
Nov 14, 2020

Conversation

mcmoodoo
Copy link
Contributor

"docker-compose up" doesn't really work, because the API is trying to connect to MongoDB at localhost. I added a script to update the connection string to look for host "mongo" when run in docker containers.

@makinhs
Copy link
Owner

makinhs commented Nov 14, 2020

I didn't face the same issue using a MacOS but trying your solution and knowing that you was in a different operational system and this changes didn't crashed in MacOS I will be accepting it.

@makinhs makinhs merged commit e1971b9 into makinhs:master Nov 14, 2020
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.

2 participants