# The docker-compose for cloudflared and hooking it to the network. services: cloudflare: image: cloudflare/cloudflared env_file: - .env command: tunnel --no-autoupdate run environment: - TUNNEL_TOKEN=${TUNNEL_TOKEN} networks: cloudflarednet: restart: unless-stopped networks: cloudflarednet: external: true