#Tailscale on HA Container
1 messages · Page 1 of 1 (latest)
Yes tried that too, but maybe I input some txt wrong inside the yml file? however I do not see any error when docker-compose up -d everything seem to run accordingly. Within the portainer I can see all 3 container are running (portainer, HA, tailescale) https://www.reddit.com/r/Tailscale/comments/zt1xoq/comment/k4p392o/?utm_source=share&utm_medium=web2x&context=3
tailscale:
privileged: true
hostname: home-server
network_mode: "host"
container_name: tailscale
image: tailscale/tailscale:latest
volumes:
- /opt/appdata/tailscale/var_lib:/var/lib
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
command: tailscaled
To format your text as code, enter three backticks on the first line, press Shift+Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
Tailscale on HA Container
The service is up and connected?
When you go to https://login.tailscale.com/admin/machines the node's up?
I got it to works. So basically I just have to install curl -fsSL https://tailscale.com/install.sh | sh inside the HA server terminal, signup etc etc. Earlier on, I thought editing the config yml and do the command docker-compose up -d will pull and install the tailscale, thats the reason why its not working.
So what I did
-
nano editing docker-compose.yaml
tailscale:
privileged: true
hostname: home-server
network_mode: "host"
container_name: tailscale
image: tailscale/tailscale:latest
volumes:- /opt/appdata/tailscale/var_lib:/var/lib
- /dev/net/tun:/dev/net/tun
cap_add: - net_admin
- sys_module
command: tailscaled
-
sudo docker-compose up -d
-
curl -fsSL https://tailscale.com/install.sh | sh
-
restart HA, and the rest signup etc etc, connect, download tailscale app, etc etc.