Hi. :}
I'm currently trying to use traefik (2.1) to replace our nginx reverse proxy on our docker setup, in order to be more flexible on its config (adding the ability to switch services on the go, switch the ports, ... and so on).
After following a few tutorials here and there, I'm kinda stuck : wehn booting the reverse-proxy
service (through docker-compose up -d reverse-proxy ...
), on the logs, it states it can't have a proper http response on https://%2Fvar%2Frun%2Fdocker.sock/v1.24/version
... instead of using a unix socket (unix:///var/run/docker.sock
).
Here is a gist showing what I am trying to do : https://gist.github.com/Taluu/a49c0fa367cf6f7bc5986f0d738e55db
It seems it doesn't see the right endpoint or something like that ? If anyone would have an idea on how to solve that (or at least hints), I'd be grateful for that. :}
Thanks !