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