services: ntfy: image: binwiederhier/ntfy:latest container_name: ntfy command: serve environment: - NTFY_BASE_URL=https://ntfy.3ddbrewery.com - NTFY_BEHIND_PROXY=true volumes: - ./data:/var/lib/ntfy - ./cache:/var/cache/ntfy ports: - "6741:80" restart: unless-stopped networks: - proxy deploy: resources: limits: memory: 256M cpus: '0.5' labels: - "autoheal=true" - "com.centurylinklabs.watchtower.enable=true" networks: proxy: external: true