mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-25 17:15:23 +02:00
* chore: add meta ntfy * chore: typo * feat: add ntfy --------- Co-authored-by: Jorge Gómez Zarzosa <jorgegomez@bmat.com>
24 lines
593 B
YAML
24 lines
593 B
YAML
services:
|
|
ntfy:
|
|
image: binwiederhier/ntfy
|
|
restart: unless-stopped
|
|
command:
|
|
- serve
|
|
ports:
|
|
- "${HTTP_PORT}"
|
|
volumes:
|
|
- ntfy-data:/var/lib/ntfy
|
|
- ntfy-cache:/var/cache/ntfy
|
|
- ../files/server.yml:/etc/ntfy/server.yml:ro
|
|
- ../files/templates:/etc/ntfy/templates:ro
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:${HTTP_PORT}/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
|
|
interval: 60s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
volumes:
|
|
ntfy-data:
|
|
ntfy-cache:
|