This commit is contained in:
23
docs/portainer-stacks/tailscale.md
Normal file
23
docs/portainer-stacks/tailscale.md
Normal file
@ -0,0 +1,23 @@
|
||||
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
|
||||
```
|
Reference in New Issue
Block a user