mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-27 01:20:55 +00:00
update: add tailscale
This commit is contained in:
parent
3d953b57b3
commit
bda89bac55
@ -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
|
Loading…
Reference in New Issue
Block a user