1
0
mirror of https://github.com/spikecodes/libreddit synced 2024-12-27 19:16:01 +01:00
libreddit/docker-compose.yml
Wichai c298109a7b
Change healthcheck script to utilise "wget" (#309)
* Change healthcheck script to utilise "wget"

* add "tries=1" option
2021-11-11 00:47:13 +00:00

14 lines
274 B
YAML

version: "3.8"
services:
web:
build: .
restart: always
container_name: "libreddit"
ports:
- 8080:8080
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m
timeout: 3s