This commit is contained in:
Waylon Walker 2023-10-29 18:04:29 -05:00
parent f997855f97
commit b3219b2b95
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
3 changed files with 19 additions and 10 deletions

View file

@ -13,7 +13,7 @@ services:
- ntfy-cache:/var/cache/ntfy
- ntfy:/etc/ntfy
ports:
- 3008:80
- 80
healthcheck: # optional: remember to adapt the host:port to your environment
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s
@ -22,7 +22,7 @@ services:
start_period: 40s
restart: always
labels:
kompose.service.expose: ntfy.wayl.one
kompose.service.expose: ntfy.wayl.one,ntfy.k.waylonwalker.com
volumes:
ntfy:
ntfy-cache: