diff --git a/docker-compose.yml b/docker-compose.yml index de09815f0d9..89a2a6302f0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -585,9 +585,8 @@ services: healthcheck: <<: *healthcheck_defaults test: - - "CMD" - - "/usr/bin/curl" - - http://localhost + - "CMD-SHELL" + - "curl --fail --silent --output /dev/null http://localhost/api/0/relays/live/ && curl --fail --silent --output /dev/null http://localhost/_health/ || { nginx -s reload; exit 1; }" depends_on: web: <<: *depends_on-healthy