Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Updated docker-compose configuration #74

Merged
merged 2 commits into from
Jun 11, 2019
Merged

Conversation

kmehant
Copy link
Contributor

@kmehant kmehant commented Jun 9, 2019

Changed docker-compose configuration for restarting database container when killed.

Changed docker-compose configuration for restarting database container when killed.
@Chuxel
Copy link
Member

Chuxel commented Jun 10, 2019

This is a good thought, but this would also start the mongo container whenever Docker is restarted even if you stopped it and/or the Node container. Perhaps restart: unless-stopped?

@Chuxel Chuxel self-requested a review June 10, 2019 21:42
@kmehant
Copy link
Contributor Author

kmehant commented Jun 11, 2019

This is a good thought, but this would also start the mongo container whenever Docker is restarted even if you stopped it and/or the Node container. Perhaps restart: unless-stopped?

Yes, this seems a perfect fix! Thank you @Chuxel

@Chuxel Chuxel merged commit 535a6c0 into microsoft:master Jun 11, 2019
@kmehant kmehant deleted the patch-3 branch June 21, 2019 03:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants