version: "2.1" services: ntfy: image: binwiederhier/ntfy container_name: ntfy command: - serve environment: - TZ=UTC volumes: - ./cache:/var/cache/ntfy - ./conf:/etc/ntfy ports: - 127.0.0.1:22311:80 restart: unless-stopped