fix(service): Add healthcheck to Cloudflared service (#4859)
This commit is contained in:
parent
f0c10b5378
commit
11fb0c240f
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue