initial commit

This commit is contained in:
theo
2025-12-22 17:45:13 +01:00
commit 6d8681306f
3 changed files with 26 additions and 0 deletions

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
services:
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
command:
- serve
environment:
- TZ=Europe/Paris
volumes:
- ./ntfy/cache:/var/cache/ntfy
- ./ntfy/etc:/etc/ntfy
labels:
- "traefik.enable=true"
- "traefik.http.routers.ntfy.rule=Host(`${NTFY_DOMAIN}`)"
- "traefik.http.routers.ntfy.entrypoints=websecure"
- "traefik.http.routers.ntfy.tls=true"
- "traefik.http.routers.ntfy.tls.certresolver=letsencrypt"
- "traefik.http.services.ntfy.loadbalancer.server.port=8080"
restart: unless-stopped
networks:
- traefik
networks:
traefik:
external: true