Files
umbrel-apps/tailscale/docker-compose.yml
T
2022-10-16 15:21:11 +11:00

12 lines
450 B
YAML

version: "3.7"
services:
web:
network_mode: "host" # TODO: We can remove this later with some iptables magic
image: tailscale/tailscale:v1.33.19@sha256:5f24f44cc7e38ffe68064ee706f88f0f4b808bffd7cdee9a01552be49110e170
restart: on-failure
stop_grace_period: 1m
command: "sh -c 'tailscale web --listen 0.0.0.0:${APP_TAILSCALE_PORT} & exec tailscaled --tun=userspace-networking'"
volumes:
- ${APP_DATA_DIR}/data:/var/lib