condition: service_healthy
This commit is contained in:
@@ -156,7 +156,9 @@ services:
|
||||
SOCIAL_ASSET_ADMIN_KEY: ${SOCIAL_ASSET_ADMIN_KEY:-${TIKTOK_ADMIN_KEY:-}}
|
||||
depends_on:
|
||||
web:
|
||||
condition: service_started
|
||||
# Not service_started: the worker's first cycle would otherwise run while web is
|
||||
# still applying migrations and booting, logging a connection error per channel.
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- qrmaster-network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user