mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
fix(docker): fix healthcheck failures in docker-compose.yml (#906)
This commit is contained in:
committed by
GitHub
parent
ea3be2e916
commit
21cc6e0bcd
+1
-1
@@ -45,7 +45,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- nofx
|
- nofx
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/health"]
|
test: ["CMD", "curl", "-f", "http://127.0.0.1/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user