modified: main_dc/docker-compose.yml
change check path
This commit is contained in:
@@ -181,7 +181,7 @@ services:
|
|||||||
"--spider",
|
"--spider",
|
||||||
"http://localhost:8080/api/health",
|
"http://localhost:8080/api/health",
|
||||||
]
|
]
|
||||||
interval: 3000s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
@@ -247,15 +247,7 @@ services:
|
|||||||
- app-network
|
- app-network
|
||||||
- web-network
|
- web-network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test: ["CMD", "wget", "--spider", "http://localhost:${API_ES_APP_PORT}/health"]
|
||||||
[
|
|
||||||
"CMD",
|
|
||||||
"wget",
|
|
||||||
"--no-verbose",
|
|
||||||
"--tries=1",
|
|
||||||
"--spider",
|
|
||||||
"http://localhost:${API_ES_APP_PORT}/health",
|
|
||||||
]
|
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user