Update cloudflared.yaml
add network mode host to template, otherwise cloudflared has no access to localhost
This commit is contained in:
parent
2c210abf57
commit
d2cf53578a
1 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ services:
|
||||||
container_name: cloudflare-tunnel
|
container_name: cloudflare-tunnel
|
||||||
image: cloudflare/cloudflared:latest
|
image: cloudflare/cloudflared:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: tunnel run
|
network_mode: host
|
||||||
|
command: tunnel --no-autoupdate run
|
||||||
environment:
|
environment:
|
||||||
- TUNNEL_TOKEN=$CLOUDFLARE_TUNNEL_TOKEN
|
- 'TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue