-
|
I’m trying to understand whether Doco respects service dependencies. I have an application that depends on Postgres (it uses Is this the expected behavior? Does Doco support dependency-aware restarts, or is there a recommended way to ensure dependent services are cycled correctly when their dependencies are updated? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
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 |
Beta Was this translation helpful? Give feedback.
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: