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
@ -8,6 +8,6 @@ services:
|
||||
ports:
|
||||
- 8080:8080
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/settings"]
|
||||
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||
interval: 5m
|
||||
timeout: 3s
|
Loading…
Reference in New Issue
Block a user