umbrel-apps/tailscale/docker-compose.yml

12 lines
432 B
YAML
Raw Normal View History

2022-04-20 20:32:07 +00:00
version: "3.7"
services:
web:
network_mode: "host" # TODO: We can remove this later with some iptables magic
image: tailscale/tailscale:v1.52.0@sha256:b102f468a2f1b0b6e9717cf728c43886c136e808010547eebe9ebd80aedd34c3
2022-04-20 20:32:07 +00:00
restart: on-failure
stop_grace_period: 1m
command: "sh -c 'tailscale web --listen 0.0.0.0:8240 & exec tailscaled --tun=userspace-networking'"
2022-04-20 20:32:07 +00:00
volumes:
- ${APP_DATA_DIR}/data:/var/lib