You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I use depends_on then container logs start writing (captureContainersOutputToFiles = 'build/compose_log') only when all containers accept the UP(it's starting) status
that is, when 'web' starts - 'worker' has the 'create' status until the web takes on the healthy status and logs will be written to the 'build/compose_log' folder only after that, so in case of problems with raising the ' web' container, the logs will be in the folder is not written, this is very inconvenient, can I do something about it?
The text was updated successfully, but these errors were encountered:
web:
image: web
healthcheck:
interval: 5s
timeout: 5s
retries: 60
test: curl -sS http://127.0.0.1 || echo 1
worker
image: worker
depends_on:
web: { condition: service_healthy }
if I use depends_on then container logs start writing (captureContainersOutputToFiles = 'build/compose_log') only when all containers accept the UP(it's starting) status
that is, when 'web' starts - 'worker' has the 'create' status until the web takes on the healthy status and logs will be written to the 'build/compose_log' folder only after that, so in case of problems with raising the ' web' container, the logs will be in the folder is not written, this is very inconvenient, can I do something about it?
The text was updated successfully, but these errors were encountered: