wiki/docs/portainer-stacks/tailscale.md
sthope ec2f55a2e4
All checks were successful
continuous-integration/drone/push Build is passing
update
2022-08-06 20:58:14 +02:00

23 lines
447 B
Markdown

Portainer Stack:
```yaml
---
version: "3.8"
services:
tailscale:
container_name: tailscale
image: tailscale/tailscale
command: tailscaled
restart: unless-stopped
network_mode: host
privileged: true
volumes:
- /dev/net/tun:/dev/net/tun
- /var/lib:/var/lib
labels:
- com.centurylinklabs.watchtower.enable=true
```
Then to login, from the terminal send:
```
docker exec tailscaled tailscale up
```