Files
coolify/templates/compose/cloudflared.yaml
Darren Sisson d2cf53578a Update cloudflared.yaml
add network mode host to template, otherwise cloudflared has no access to localhost
2024-09-18 16:09:24 +01:00

14 lines
496 B
YAML

# documentation: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/
# slogan: Client for Cloudflare Tunnel, a daemon that exposes private services through the Cloudflare edge.
# logo: svgs/cloudflared.svg
services:
cloudflared:
container_name: cloudflare-tunnel
image: cloudflare/cloudflared:latest
restart: unless-stopped
network_mode: host
command: tunnel --no-autoupdate run
environment:
- 'TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}'