mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
Update cloudflared.yaml
add network mode host to template, otherwise cloudflared has no access to localhost
This commit is contained in:
1 parent
2c210abf57
commit
d2cf53578a
1 file changed
+3
-2
@@ -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