diff --git a/backend/services/docker-compose.yml b/backend/services/docker-compose.yml index b39021fb..cd170e6c 100644 --- a/backend/services/docker-compose.yml +++ b/backend/services/docker-compose.yml @@ -132,9 +132,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/health"] + test: ["CMD", "curl", "-f", "http://localhost:3000/api/v1/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -168,9 +168,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3001/health"] + test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -198,9 +198,9 @@ services: postgres: condition: service_healthy healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3002/health"] + test: ["CMD", "curl", "-f", "http://localhost:3002/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -234,9 +234,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3003/health"] + test: ["CMD", "curl", "-f", "http://localhost:3003/api/v1/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -270,9 +270,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3004/health"] + test: ["CMD", "curl", "-f", "http://localhost:3004/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -306,9 +306,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3005/health"] + test: ["CMD", "curl", "-f", "http://localhost:3005/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -345,9 +345,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3006/api/v1/health"] + test: ["CMD", "curl", "-f", "http://localhost:3006/api/v1/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -381,9 +381,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3007/health"] + test: ["CMD", "curl", "-f", "http://localhost:3007/api/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -417,9 +417,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3008/health"] + test: ["CMD", "curl", "-f", "http://localhost:3008/api/v1/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped @@ -453,9 +453,9 @@ services: kafka: condition: service_started healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://localhost:3009/health"] + test: ["CMD", "curl", "-f", "http://localhost:3009/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s restart: unless-stopped diff --git a/frontend/admin-web/docker-compose.yml b/frontend/admin-web/docker-compose.yml index f5f343de..4155697b 100644 --- a/frontend/admin-web/docker-compose.yml +++ b/frontend/admin-web/docker-compose.yml @@ -14,7 +14,7 @@ services: healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"] interval: 30s - timeout: 10s + timeout: 3s retries: 3 start_period: 40s networks: