Change healthcheck script to utilise "wget" (#309)
* Change healthcheck script to utilise "wget" * add "tries=1" option
This commit is contained in:
parent
a0509890b7
commit
c298109a7b
1 changed files with 2 additions and 2 deletions
|
@ -8,6 +8,6 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080/settings"]
|
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||||
interval: 5m
|
interval: 5m
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
|
|
Loading…
Reference in a new issue