services: ntfy: image: binwiederhier/ntfy:latest container_name: ntfy restart: unless-stopped ports: - "80:80" volumes: # 本地卷宗挂载 - /mnt/sata2-4/docker_data/ntfy:/var/cache/ntfy command: - serve - --cache-file - /var/cache/ntfy/cache.db