Skip to content

Commit a790d2b

Browse files
Add healthcheck to docker-compose.yml
Fixes #755.
1 parent 072eb0e commit a790d2b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ services:
1919
ports:
2020
- "8080:80"
2121
restart: unless-stopped
22+
healthcheck:
23+
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/config.json >/dev/null 2>&1 || exit 1"]
24+
interval: 5s
25+
timeout: 5s

0 commit comments

Comments
 (0)