Skip to content

Support depends_on type service_completed_successfully #575

@micheljung

Description

@micheljung

Is your feature request related to a problem? Please describe.

The problem is that podman-compose is incompatible with current docker-compose.yml because it does not support service_completed_successfully.

According to the compose spec

  • condition: condition under which dependency is considered satisfied
    • service_started: is an equivalent of the short syntax described above
    • service_healthy: specifies that a dependency is expected to be "healthy"
      (as indicated by healthcheck) before starting a dependent
      service.
    • service_completed_successfully: specifies that a dependency is expected to run
      to successful completion before starting a dependent service.

Describe the solution you'd like
podman-compose implements service_completed_successfully as per the spec.

Describe alternatives you've considered
None

Additional context
I didn't check if the other conditions are supported yet, but they should also be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions