fix(service): Add healthcheck to Cloudflared service (#4859)

This commit is contained in:
ShadowArcanist
2025-01-20 21:42:26 +01:00
committed by GitHub
parent f0c10b5378
commit 11fb0c240f
+5
View File
@@ -11,3 +11,8 @@ services:
command: tunnel --no-autoupdate run
environment:
- 'TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}'
healthcheck:
test: ["CMD", "cloudflared", "--version"]
interval: 5s
timeout: 20s
retries: 10