networks: proxy-net: external: true services: ntfy: container_name: ntfy image: binwiederhier/ntfy networks: - proxy-net command: - serve environment: - TZ=CET volumes: - ./containers_storage/ntfy/cache:/var/cache/ntfy - ./containers_storage/ntfy/lib:/var/lib/ntfy - ./containers_storage/ntfy/etc:/etc/ntfy ports: - "8003:80" healthcheck: test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"] interval: 60s timeout: 10s retries: 3 start_period: 40s restart: unless-stopped