Skip to content
Discussion options

You must be logged in to vote

This is something that gets handled by the Docker daemon. Doco-cd only passes the compose configuration to the Docker API.

You can try to set the restart option, that might work:

depends_on:
      db:
        condition: service_healthy
        restart: true

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danroc
Comment options

Answer selected by danroc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants