modified: main_dc/docker-compose.yml

set interval to 30s for healthcheck for all containers
This commit is contained in:
2025-11-19 05:37:09 +05:00
parent c0eed7faf8
commit 2440e5d359
+3 -3
View File
@@ -122,7 +122,7 @@ services:
"--spider", "--spider",
"http://localhost:8080/health", "http://localhost:8080/health",
] ]
interval: 20s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -142,7 +142,7 @@ services:
- app-network - app-network
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s interval: 30s
timeout: 10s timeout: 10s
retries: 5 retries: 5
@@ -200,7 +200,7 @@ services:
- bb-network - bb-network
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s interval: 30s
timeout: 10s timeout: 10s
retries: 5 retries: 5