Happy new year!
I am having trouble figuring out how to use Cloudflared with docker-compose. I would like to use install in a container and have found a a compose example here - it installs fine but how do I login, create tunnels etc?
According to the documentation, I should be able to use commands such as
cloudflared tunnel login
cloudflared tunnel list
cloudflared tunnel route dns <UUID or NAME> <hostname>
I have tried using the CLI but the container does not allow.
The way that I set it up is that I created all the configs then used a docker mount to have them in the container.
Thanks. I have created the config file but how can I generate the UUID? Etc?
What if I want to delete a tunnel? Create a new one? It seems limited when using docker-compose
You go through the normal process of creating a tunnel config + creds then mount that into the docker container.
You would do this locally then add the new config.
It is, but that is kind of the point. It is used to run Cloudflared, you start a container then use the CLI in the container but that data won’t be saved between containers.