diff --git a/templates/compose/cloudflared.yaml b/templates/compose/cloudflared.yaml index 61f1158fd..0d08fb24a 100644 --- a/templates/compose/cloudflared.yaml +++ b/templates/compose/cloudflared.yaml @@ -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}'