Update stack.production.yml
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
colin 2024-02-16 03:15:25 +00:00
parent d94f2fd331
commit 355fbf6ad5
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@ services:
- NTFY_DATA_DIR=/data - NTFY_DATA_DIR=/data
command: command:
- serve - serve
healthcheck:
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
interval: 60s
timeout: 10s
retries: 3
start_period: 40s
networks: networks:
traefik: traefik:
external: true external: true