From 2208815e89cc3ae024334ba5b7cd47250040dadf Mon Sep 17 00:00:00 2001 From: Maximilien Cuony Date: Wed, 11 Mar 2026 14:08:07 +0100 Subject: [PATCH] [mock_uss] Increase start_period for healthchecks --- monitoring/mock_uss/docker-compose.yaml | 19 ++++++++++++++++++- monitoring/mock_uss/health_check.sh | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/monitoring/mock_uss/docker-compose.yaml b/monitoring/mock_uss/docker-compose.yaml index 3ac506963f..f723505478 100644 --- a/monitoring/mock_uss/docker-compose.yaml +++ b/monitoring/mock_uss/docker-compose.yaml @@ -34,6 +34,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - scd @@ -63,6 +65,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - scd @@ -89,6 +93,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - geoawareness @@ -121,6 +127,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - rid @@ -153,6 +161,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - rid @@ -185,6 +195,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - rid_v19 @@ -217,6 +229,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - rid_v19 @@ -253,6 +267,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - scd @@ -287,6 +303,8 @@ services: - interop_ecosystem_network extra_hosts: - host.docker.internal:host-gateway + healthcheck: + start_period: 30s profiles: - '' # starts when no profile is provided - scd @@ -313,4 +331,3 @@ services: networks: interop_ecosystem_network: external: true - diff --git a/monitoring/mock_uss/health_check.sh b/monitoring/mock_uss/health_check.sh index ec803778eb..c25432f9ec 100644 --- a/monitoring/mock_uss/health_check.sh +++ b/monitoring/mock_uss/health_check.sh @@ -4,4 +4,4 @@ # mock_uss via the interuss/monitoring image to determine the health status of # the container. -curl --fail "http://localhost:${MOCK_USS_PORT:-5000}/status" || exit 1 +curl --fail --max-time 1 "http://localhost:${MOCK_USS_PORT:-5000}/status" || exit 1