umbrel-apps/tailscale/docker-compose.yml
2022-07-12 15:22:07 +07:00

12 lines
449 B
YAML

version: "3.7"
services:
web:
network_mode: "host" # TODO: We can remove this later with some iptables magic
image: tailscale/tailscale:v1.26.2@sha256:9a0949bbb4c2c02766e1b5fa396da010fb8cb0b9018cb5e43545d1fe9bfac2b7
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