Files
homelab-infra/apps/ntfy/docker-compose.yml
T
2026-03-27 15:15:35 +00:00

30 lines
694 B
YAML

services:
ntfy:
image: binwiederhier/ntfy:latest
container_name: ntfy
restart: unless-stopped
command:
- serve
volumes:
- /mnt/user/appdata/ntfy:/var/lib/ntfy
networks:
- frontend_net
security_opt:
- no-new-privileges:true
labels:
- traefik.enable=true
- traefik.docker.network=frontend_net
- traefik.http.routers.ntfy.rule=Host(`ntfy.kaleschke.info`)
- traefik.http.routers.ntfy.entrypoints=websecure
- traefik.http.routers.ntfy.tls=true
- traefik.http.routers.ntfy.tls.certresolver=le
- traefik.http.services.ntfy.loadbalancer.server.port=80
networks:
frontend_net:
external: true