mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 00:00:13 -08:00
added another env variable
This commit is contained in:
@@ -10,13 +10,14 @@ services:
|
|||||||
container_name: tailscale
|
container_name: tailscale
|
||||||
image: tailscale/tailscale:stable
|
image: tailscale/tailscale:stable
|
||||||
volumes:
|
volumes:
|
||||||
- ./tailscale:/var/lib # State data will be stored in this directory
|
- ./tailscale:/var/lib # State data will be stored in this directory
|
||||||
- /dev/net/tun:/dev/net/tun # Required for tailscale to work
|
- /dev/net/tun:/dev/net/tun # Required for tailscale to work
|
||||||
cap_add: # Required for tailscale to work
|
cap_add: # Required for tailscale to work
|
||||||
- net_admin
|
- net_admin
|
||||||
- sys_module
|
- sys_module
|
||||||
environment:
|
environment:
|
||||||
- TS_AUTHKEY:${TAILSCALE_AUTHKEY}
|
- TS_AUTHKEY:${TAILSCALE_AUTHKEY}
|
||||||
|
- TS_SOCKET:${TAILSCALE_SOCKET}
|
||||||
command: tailscaled
|
command: tailscaled
|
||||||
privileged: true
|
privileged: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user