diff --git a/compose.yml b/compose.yml index 99c5e97..9c63ea1 100644 --- a/compose.yml +++ b/compose.yml @@ -49,9 +49,16 @@ services: networks: - proxy - internal + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost"] + interval: 30s + timeout: 10s + retries: 10 + start_period: 1m deploy: update_config: failure_action: rollback + order: start-first labels: - "traefik.enable=true" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"