Update stack.staging.yml
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
colin 2024-02-16 03:14:54 +00:00
parent f3f925fbe7
commit d94f2fd331
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@ services:
- NTFY_DATA_DIR=/data
command:
- serve
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
timeout: 10s
retries: 3
start_period: 40s
networks:
traefik:
external: true