update: add tailscale

This commit is contained in:
bjoernellens1 2023-11-22 10:56:32 +01:00 committed by GitHub
parent 3d953b57b3
commit bda89bac55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,4 +137,17 @@ services:
##################################################################################################### #####################################################################################################
# tailscale # tailscale
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