services: ntfy: image: binwiederhier/ntfy container_name: ntfy command: serve restart: unless-stopped environment: - TZ=Asia/Tokyo volumes: - ./server.yml:/etc/ntfy/server.yml:ro - ntfy_cache:/var/cache/ntfy - ntfy_lib:/var/lib/ntfy networks: - web networks: web: external: true name: web volumes: ntfy_cache: ntfy_lib: