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

introduce restart for depends_on #350

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Feb 15, 2023

  • introduces restart requirement for depends_on
  • normalize all implicit dependencies between services (shared namespace, volumes from ...) into explicit depends_on relations

This allows to select dependencies to be considered depending on the context, vs just walk the dependency graph
see docker/compose#10284 for usage

see compose-spec/compose-spec#305

Signed-off-by: Nicolas De Loof <[email protected]>
@ndeloof ndeloof force-pushed the depends_on_restart branch 2 times, most recently from 6b1865f to 7bd567a Compare February 16, 2023 07:29
@ndeloof ndeloof requested a review from milas February 16, 2023 09:03
types/types.go Outdated Show resolved Hide resolved
@ndeloof ndeloof mentioned this pull request Feb 17, 2023
@ndeloof ndeloof merged commit c5cb8b2 into compose-spec:master Feb 17, 2023
@ndeloof ndeloof deleted the depends_on_restart branch February 17, 2023 15:31
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