-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
26 lines (26 loc) · 773 Bytes
/
compose.yml
File metadata and controls
26 lines (26 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
services:
ts-upsnap:
image: tailscale/tailscale:latest
container_name: ts-upsnap
hostname: upsnap
environment:
- TS_AUTHKEY=tskey-auth-YOUR-KEY-GOES-HERE
- TS_EXTRA_ARGS=--advertise-tags=tag:container
- TS_SERVE_CONFIG=/config/upsnap.json
- TS_STATE_DIR=/var/lib/tailscale
volumes:
- ${PWD}/ts-upsnap/state:/var/lib/tailscale
- ${PWD}/ts-upsnap/config:/config
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
network_mode: host
restart: unless-stopped
upsnap:
container_name: upsnap
image: ghcr.io/seriousm4x/upsnap:5 # images are also available on docker hub: >
network_mode: service:ts-upsnap
restart: unless-stopped
volumes:
- ./data:/app/pb_data