diff --git a/docker-compose.yaml b/docker-compose.yaml index 1771e72..1015cb2 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -137,4 +137,17 @@ services: ##################################################################################################### # tailscale - \ No newline at end of file + tailscale: + privileged: true + hostname: tailscale # This will become the tailscale device name + network_mode: "host" + container_name: tailscale + image: tailscale/tailscale:latest + volumes: + - "/opt/appdata/tailscale/var_lib:/var/lib" # State data will be stored in this directory + - "/dev/net/tun:/dev/net/tun" # Required for tailscale to work + cap_add: # Required for tailscale to work + - net_admin + - sys_module + command: tailscaled + restart: unless-stopped \ No newline at end of file