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

Add option to exit 1 if unable to connect #28

Open
DanielRamosAcosta opened this issue Sep 3, 2019 · 0 comments
Open

Add option to exit 1 if unable to connect #28

DanielRamosAcosta opened this issue Sep 3, 2019 · 0 comments

Comments

@DanielRamosAcosta
Copy link

Using docker-compose and starting both mongoku and mongo provokes a permanent error message in the UI. If mongoku exited with code 1 if it's unable to connect to the database, we could add a restart: on-failure and then the next time it will connect.

Is it possible to add an environment variable to exit 1 if it's unable to connect? I can PR if needed.

Thanks you!

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

No branches or pull requests

1 participant