Files
infrastructure/hosts/ps08rp/tailscale/docker-compose.yml
2024-05-22 12:49:28 -05:00

25 lines
550 B
YAML

services:
tailscaled:
cap_add:
- NET_ADMIN
- NET_RAW
container_name: tailscaled
env_file:
- .env
hostname: ps08rp
image: tailscale/tailscale:stable
network_mode: host
privileged: true
restart: always
volumes:
- tailscale:/var/lib/tailscale
- /dev/net/tun:/dev/net/tun
volumes:
tailscale:
driver: local
driver_opts:
type: none
o: bind
device: /opt/tailscale