Unused tailscale config (maybe for later if headscale doesnt worK)
This commit is contained in:
parent
0bec917702
commit
a75b26800d
23
tailscale/docker-compose.yml
Normal file
23
tailscale/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
# https://tailscale.com/kb/1282/docker
|
||||
version: "3.7"
|
||||
services:
|
||||
tailscale-nginx:
|
||||
image: tailscale/tailscale:latest
|
||||
hostname: tailscale-nginx
|
||||
environment:
|
||||
- TS_AUTHKEY=tskey-client-notAReal-OAuthClientSecret1Atawk
|
||||
- TS_EXTRA_ARGS=--advertise-tags=tag:container
|
||||
- TS_STATE_DIR=/var/lib/tailscale
|
||||
- TS_USERSPACE=false
|
||||
volumes:
|
||||
- ${PWD}/tailscale-nginx/state:/var/lib/tailscale
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
cap_add:
|
||||
- net_admin
|
||||
- sys_module
|
||||
restart: unless-stopped
|
||||
nginx:
|
||||
image: nginx
|
||||
depends_on:
|
||||
- tailscale-nginx
|
||||
network_mode: service:tailscale-nginx
|
Loading…
Reference in New Issue
Block a user