This commit is contained in:
parent
a49b8b6d13
commit
5863b2f9e3
3 changed files with 17 additions and 3 deletions
|
@ -11,6 +11,7 @@ services:
|
|||
- ./configs/server.yml:/etc/ntfy/server.yml
|
||||
ports:
|
||||
- 2586:2586
|
||||
- 9586:9586
|
||||
healthcheck: # optional: remember to adapt the host:port to your environment
|
||||
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:2586/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
|
||||
interval: 60s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue