compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
158 stars 16 forks source link

[FR] compose - depends_on string format support #756

Closed JohnPreston closed 1 month ago

JohnPreston commented 1 month ago

In recent compose changes, there is now more details about the depends_on conditions.

    depends_on:
      broker:
        condition: service_started

The valid list is

Which aligns very well with the existing deploy.labels ecs.depends.condition

If the user sets either, import. If the user sets both, use the deploy.labels value as this is clearly the expected behaviour for compose-x to follow.