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

This commit is contained in:
ShadowArcanist
2025-01-21 02:12:26 +05:30
committed by GitHub
parent f0c10b5378
commit 11fb0c240f

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