Files
docker-compose-files/archive/ntfy/docker-compose.yaml
T
2025-12-22 13:22:11 +01:00

19 lines
559 B
YAML
Executable File

version: '3.8'
services:
ntfy:
image: binwiederhier/ntfy:latest
container_name: ntfy
command: serve
restart: unless-stopped
environment:
- TZ=Europe/Berlin
- NTFY_AUTH_FILE=/etc/ntfy/user.db # IMMER Container-Pfad!
- NTFY_AUTH_DEFAULT_ACCESS=read-write
- NTFY_BASE_URL=https://ntfy-app.hanold.online
- NTFY_BEHIND_PROXY=true
volumes:
- ./cache:/var/cache/ntfy # /opt/ntfy/cache -> Container
- ./config:/etc/ntfy # /opt/ntfy/config -> Container
ports:
- "9980:80"