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
168 stars 17 forks source link

[FR] compose - depends_on string format support #756

Closed JohnPreston closed 5 months ago

JohnPreston commented 6 months 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.