This repository has been archived on 2024-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
iris/roles/alerts/docker-compose.yml.j2

35 lines
817 B
Text
Raw Permalink Normal View History

2023-05-17 22:21:34 +00:00
# vi: ft=yaml
version: "3"
services:
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
ports:
- 3002:80
restart: always
command:
- serve
environment:
- TZ=Europe/Amsterdam
volumes:
- {{ data_directory }}/ntfy_cache:/var/cache/ntfy
- {{ data_directory }}/ntfy_data:/var/lib/ntfy
- /srv/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
container_name: apprise
ports:
- 3003:8000
restart: always
volumes:
- {{ data_directory }}/apprise:/config