- Added caddy.import_1: crowdsec for "ntfy" - Added monitor label(s) for "ntfy" (url: http://ntfy:80) - Removed 2 legacy kuma.* label(s) from "ntfy" - Stamped gremlin.version: 2026-04-1
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# Run with docker stack deploy -c ntfy.yaml ntfy
|
|
services:
|
|
ntfy:
|
|
image: binwiederhier/ntfy
|
|
command: serve
|
|
user: "1964:1964"
|
|
environment:
|
|
TZ: America/Chicago
|
|
volumes:
|
|
- /data/nfs/znas/Docker/ntfy/cache:/var/cache/ntfy
|
|
- /data/nfs/znas/Docker/ntfy/etc:/etc/ntfy
|
|
ports:
|
|
- 81:80
|
|
networks:
|
|
- netgrimoire
|
|
deploy:
|
|
restart_policy:
|
|
condition: any
|
|
delay: 5s
|
|
max_attempts: 3
|
|
window: 120s
|
|
placement:
|
|
constraints:
|
|
- node.platform.arch != aarch64
|
|
- node.platform.arch != arm
|
|
labels:
|
|
|
|
gremlin.version: "2026-04-1"
|
|
gremlin.authentik.skip: "true"
|
|
|
|
# --- Caddy ---
|
|
caddy: ntfy.netgrimoire.com
|
|
caddy.reverse_proxy: ntfy:80
|
|
caddy.import_1: crowdsec
|
|
caddy.import: crowdsec
|
|
|
|
# --- Uptime Kuma ---
|
|
|
|
# --- Homepage ---
|
|
homepage.group: Notify
|
|
homepage.name: ntfy
|
|
homepage.icon: ntfy.png
|
|
homepage.href: https://ntfy.netgrimoire.com
|
|
homepage.description: Push Notifications
|
|
monitor.name: Ntfy
|
|
monitor.url: http://ntfy:80
|
|
|
|
# --- DIUN ---
|
|
diun.enable: "true"
|
|
|
|
networks:
|
|
netgrimoire:
|
|
external: true
|