Update cloudflared.yaml
add network mode host to template, otherwise cloudflared has no access to localhost
This commit is contained in:
@@ -7,6 +7,7 @@ services:
|
||||
container_name: cloudflare-tunnel
|
||||
image: cloudflare/cloudflared:latest
|
||||
restart: unless-stopped
|
||||
command: tunnel run
|
||||
network_mode: host
|
||||
command: tunnel --no-autoupdate run
|
||||
environment:
|
||||
- TUNNEL_TOKEN=$CLOUDFLARE_TUNNEL_TOKEN
|
||||
- 'TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}'
|
||||
|
||||
Reference in New Issue
Block a user