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

Option for staying running in compose with healthchecks for depends_on support #3

Open
BretFisher opened this issue Jul 17, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@BretFisher
Copy link
Owner

In compose 2.x files, depends_on can support a condition: service_healthy option to prevent the starting of a container until a dependency is healthy.

This could be used for volume seeding, where you list a vackup service in the compose file, that will auto-copy data to a new volume on startup, and the service that depends on that volume will only startup after the vackup image is marked healthy.

@BretFisher BretFisher added the enhancement New feature or request label Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant