Common Spec compliance

This commit is contained in:
Yax 2026-01-04 18:42:44 +01:00
parent 88d49c347c
commit 5dbcb524d3

View file

@ -1,3 +1,4 @@
name: 07-ntfy
services: services:
ntfy: ntfy:
container_name: ntfy container_name: ntfy
@ -18,12 +19,14 @@ services:
ports: ports:
- 8017:80 - 8017:80
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -q --tries=1 http://ntfy:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"] test:
- CMD-SHELL
- wget -q --tries=1 http://ntfy:80/v1/health -O - | grep -Eo
'"healthy"\s*:\s*true' || exit 1
interval: 60s interval: 60s
timeout: 10s timeout: 10s
retries: 3 retries: 3
start_period: 40s start_period: 40s
restart: unless-stopped restart: unless-stopped
volumes: volumes:
ntfy-data: ntfy-data: