diff --git a/environments/docker-compose.base.yml b/environments/docker-compose.base.yml index 1f9b95c79..26a0ca4d1 100644 --- a/environments/docker-compose.base.yml +++ b/environments/docker-compose.base.yml @@ -29,7 +29,8 @@ services: - "-c" # this is to evaluate the $NAUTOBOT_LOG_LEVEL from the env - "nautobot-server celery worker -l $$NAUTOBOT_LOG_LEVEL --events" ## $$ because of docker-compose depends_on: - - "nautobot" + nautobot: + condition: "service_healthy" healthcheck: interval: "30s" timeout: "10s" @@ -49,7 +50,8 @@ services: - "-c" # this is to evaluate the $NAUTOBOT_LOG_LEVEL from the env - "nautobot-server celery beat -l $$NAUTOBOT_LOG_LEVEL" ## $$ because of docker-compose depends_on: - - "nautobot" + nautobot: + condition: "service_healthy" healthcheck: disable: true <<: *nautobot-base