services: ntfy-bridge: build: . image: ntfy-bridge:latest container_name: ntfy-bridge restart: unless-stopped ports: - "127.0.0.1:9090:9090" volumes: - ./ntfy-bridge.yaml:/etc/ntfy-bridge/ntfy-bridge.yaml:ro - ./dashboard.html:/etc/ntfy-bridge/dashboard.html:ro environment: - TZ=America/Toronto - NTFY_TOKEN=${NTFY_TOKEN:-} - NTFY_HMAC_SECRET=${NTFY_HMAC_SECRET:-} healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9090/health"] interval: 30s timeout: 5s retries: 3 start_period: 10s