From bda89bac5507e6f5df97692a89b0c0d4c677122a Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Wed, 22 Nov 2023 10:56:32 +0100 Subject: [PATCH] update: add tailscale --- docker-compose.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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