I have no issue running argo tunnels in docker with:
docker run -it --rm -v /configs/cloudflared:/home/nonroot/.cloudflared/ cloudflare/cloudflared:2021.8.1 tunnel run
When I try to convert the same tunnel to using docker-compose (to run alongside the rest of my containers), the container just seems to hang, and just seems to restart every so often, without bringing up the tunnels
[email protected]:~$ docker logs cloudflare
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
cloudflared version (built 2021-08-04-0841 UTC)
The options are the same as the docker container, so I’m not sure why I can run it with docker run, and not as part of the docker-compose config that run the rest of the docker containers within my infra.
Is there anything that could point me in the direction that I’m going wrong?
Thank you