Deploy Cloudflared connectors using Docker Compose instead of command-line Docker.
- Install Docker and Docker Compose
- Configure a Cloudflared connector on the Zero Trust dashboard (official documentation)
- Instead of deploying a connector with command-line Docker, extract the
TUNNEL_TOKENfrom the provided command, and add it to a.envfile in the same directory asdocker-compose.yml - Start the container with
docker compose up