Skip to content

depends_on post_start_completed_successfully #12279

@stormshield-gt

Description

@stormshield-gt

Description

Since #12166 we have the post_start hook. A use case I have for this is to run some initialization code after the container starts. It will be great that other services than depend on the initialization code only start when it's completed successfully.
I don't know if it's planned but maybe we could have something like this:

depends_on:
  db:
    condition: post_start_completed_successfully

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions