lasthourcloud/templates/compose/cloudflared.yaml
2024-03-31 05:53:09 +08:00

14 lines
547 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
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=$CLOUDFLARE_TUNNEL_TOKEN