29 lines
743 B
YAML
29 lines
743 B
YAML
version: "3"
|
|
|
|
services:
|
|
ntfy:
|
|
image: binwiederhier/ntfy
|
|
ports:
|
|
- 3002:80
|
|
restart: always
|
|
command:
|
|
- serve
|
|
environment:
|
|
- TZ=Europe/Amsterdam
|
|
volumes:
|
|
- /mnt/backups/alerts/ntfy_cache:/var/cache/ntfy
|
|
- /mnt/backups/alerts/ntfy_data:/var/lib/ntfy
|
|
- /mnt/backups/alerts/ntfy_server.yml:/etc/ntfy/server.yml
|
|
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
|
|
|
|
apprise:
|
|
image: caronc/apprise:v0.9.0
|
|
- 3003:8000
|
|
restart: always
|
|
volumes:
|
|
- /mnt/backups/alerts/apprise:/config
|