16 lines
495 B
YAML
16 lines
495 B
YAML
services:
|
|
tailscale-exitnode:
|
|
image: tailscale/tailscale:stable
|
|
hostname: ${TAILSCALE_HOSTNAME}
|
|
environment:
|
|
- TS_AUTHKEY=${TAILSCALE_AUTHKEY}
|
|
- TS_ENABLE_HEALTH_CHECK=true
|
|
- TS_EXTRA_ARGS=--advertise-exit-node --advertise-connector --advertise-tags=tag:vprconnector --reset
|
|
- TS_STATE_DIR=/var/lib/tailscale
|
|
- TS_USERSPACE=true
|
|
volumes:
|
|
- tailscale_exitnode_data:/var/lib/tailscale
|
|
restart: always
|
|
|
|
volumes:
|
|
tailscale_exitnode_data: |