lasthourcloud/templates/compose/cloudflared.yaml
2024-03-26 20:34:21 +00:00

14 lines
578 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. Make sure 'Connect to Predefined Network' is enabled!
# tags: cloudflare, cloudflared, tunnel
# logo: svgs/cloudflared.svg
services:
cloudflared:
container_name: cloudflare-tunnel
image: cloudflare/cloudflared:latest
hostname: cloudflare-tunnel
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=$CLOUDFLARE_TUNNEL_TOKEN