Change healthcheck script to utilise "wget" (#309)

* Change healthcheck script to utilise "wget"

* add "tries=1" option
This commit is contained in:
Wichai 2021-11-11 00:47:13 +00:00 committed by GitHub
parent a0509890b7
commit c298109a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
timeout: 3s