From d2cf53578aa67016603155dce2027a545ac47a28 Mon Sep 17 00:00:00 2001 From: Darren Sisson <74752850+djsisson@users.noreply.github.com> Date: Wed, 18 Sep 2024 16:09:24 +0100 Subject: [PATCH] Update cloudflared.yaml add network mode host to template, otherwise cloudflared has no access to localhost --- templates/compose/cloudflared.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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}'