Compare commits
2 Commits
5485eba4d0
...
bd80ed38fb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd80ed38fb | ||
|
|
2a602e40f3 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.env
|
||||||
21
compose-example.yml
Normal file
21
compose-example.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
services:
|
||||||
|
ts:
|
||||||
|
image: 'tailscale/tailscale:latest'
|
||||||
|
hostname: $APPNAME
|
||||||
|
restart: 'always'
|
||||||
|
environment:
|
||||||
|
- "TS_AUTHKEY=$TS_AUTHKEY"
|
||||||
|
- "TS_EXTRA_ARGS=--advertise-tags=tag:container"
|
||||||
|
- "TS_USERSPACE=true"
|
||||||
|
- "TS_STATE_DIR=/var/lib/tailscale"
|
||||||
|
volumes:
|
||||||
|
- 'ts_state:/var/lib/tailscale'
|
||||||
|
svr:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
depends_on:
|
||||||
|
- 'ts'
|
||||||
|
restart: 'always'
|
||||||
|
network_mode: 'service:ts'
|
||||||
|
volumes:
|
||||||
|
ts_state:
|
||||||
Loading…
Reference in New Issue
Block a user