modified: main_dc/docker-compose.yml
set interval to 30s for healthcheck for all containers
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user