So lost #8
Closed
Welsyntoffie
started this conversation in
General
Replies: 1 comment 1 reply
-
Hey Kristof, in your example you are using the Tailscale container, not the tailscale-caddy-proxy. The solution you are searching for can be implemented using the tailscale-caddy-proxy. The best advice I can give you is to take the example docker-compose file that comes with this project, see if you can reacht the whoami example and then replace the whoami container with your application container as a first step. For more services, as stated: just spin up a different tailscale-caddy-proxy per service you want to make available. Regards, |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I am so lost at the moment about https serving and services, I read so many post that I am confused at hell..
Was following this guide... https://tailscale.com/blog/docker-tailscale-guide
I substituted mailie for home assistant.
From my windows 10 pc with tailscale connected I can access tailhostname:8123 and via https with tailscale disconnected. GREAT.
I then noticed I can not add my MYSENSORS ESP32 node 172.22.2.100 on my local lan. So I tried 172.22.2.111:8123 and could not get into home assistant. So with the guide example local LAN access does not work.
I added network_mode=host and - TS_ROUTES=172.22.2.0/24. This worked for all 3 cases. Tailnet, https and local LAN and I could add my esp32. System worked.
I added grafana charts in my home assistant. Works over local lan, but not when home assistant is served over https.
So I used the above guide to make grafana https as well. The network_mode=host in this case prevented https access as tailscale0 network is busy already. Both of these uses different folders for the state.
I have 5 containers that I want to be able to access over https and local lan.
Can anyone please help with a possible solution. I looked through caddy and reverse proxies, and all I can see is sjkdhfkjsdfisdhfjksdhfkjsdhfjk.
GRAFAN TRY
Beta Was this translation helpful? Give feedback.
All reactions