# 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}'
