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"