Skip to content

Compose service's depends_on option is incomplete #282

Description

@melektron

The compose service option depends_on can be a list of strings (short syntax) or a submodule (long syntax) (https://github.com/compose-spec/compose-spec/blob/55b450aee50799a2f33cc99e1d714518babe305e/05-services.md#depends_on).

In case of the long syntax, the submodule correctly provides the condition option but is missing the restart and required suboptions despite claiming coverage of the compose spec's options according to the docs.

See https://github.com/hercules-ci/arion/blob/main/src/nix/modules/service/docker-compose-service.nix#L126.

Is this intentional or an oversight?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions