Browse Source

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

* Change healthcheck script to utilise "wget"

* add "tries=1" option
pull/316/head
Wichai 7 months ago
committed by GitHub
parent
commit
c298109a7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docker-compose.yml

4
docker-compose.yml

@ -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

Loading…
Cancel
Save