Остання активність 1727383541

Tailscale using Portainer Неформатований
1version: "3.9"
2services:
3 ts-authkey-test:
4 image: tailscale/tailscale:latest
5 container_name: ts-authkey
6 hostname: authkey
7 environment:
8 - TS_AUTHKEY=tskey-auth- Generat YoUrOwNKeY at https://login.tailscale.com/admin/settings/keys
9 - TS_STATE_DIR=/var/lib/tailscale
10 - TS_USERSPACE=false
11 - TS_EXTRA_ARGS=--advertise-exit-node --advertise-routes=192.168.0.0/24 --accept-routes
12
13 volumes:
14 - ./ts-authkey/state:/var/lib/tailscale
15 - /dev/net/tun:/dev/net/tun
16 cap_add:
17 - NET_ADMIN
18 - SYS_MODULE
19 restart: unless-stopped
20 nginx-authkey-test:
21 image: nginx
22 container_name: nginx-authkey
23 ports:
24 - "80:80"
25 restart: unless-stopped
26