Replies: 2 comments 2 replies
|
I'm sorry I only read this thread today. TSDProxy try to detect a docker network to use, if for any case it can't detect it right, you can use https://almeidapaulopt.github.io/tsdproxy/docs/docker/#tsdproxyautodetect . There are a lot of people using it with docker networks, without a network shared with tsdproxy. Maybe in the future we should have more time analysis with docker networks to get better detection. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Trying to get this going, following the main sample with a sample
nginxcontainer.The
tsdproxyandnginxcontainers come up, but am unable to curl thenginxcontainer.Logs from
tsdproxyare:Compose file has
TSDPROXY_HOSTNAME=localhost- but also didn't work with trying a fixed IP either.Running
curl https://sample-nginx.<hidden>.ts.netI eventually timeout.I do see
sample-nginxin my Machines list in the Tailscale admin console.I can successfully
curl localhost:8181and get the response fromsample-nginxUpdate #1: if I let
curlrun and timeout, then I observe in the logs for the proxy...Not sure where the 172.17.0.2 ip address is coming from. Shouldn't this be the IP/hostname from
TSDPROXY_HOSTNAMEthat I am running Docker on?Update #2: ok, if I start the
sample-nginxcontainer with--network=tsdproxy_default(tsdproxybeing the name of the dir that my compose file is in - so influenced from that?) then everything works. So unless there's some different behaviour between Mac and Linux... probably a gap in my understanding of Docker networks.All reactions