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_TOKEN
from the provided command, and add it to a.env
file in the same directory asdocker-compose.yml
- Start the container with
docker compose up