Files
umbrel-apps/tailscale/docker-compose.yml
T
2022-09-14 15:57:39 +02: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.30.1@sha256:5599c407b0e87a2df262a32d3d1ca1cfd88271e3134cbd74d3a4454bf6d28bbe
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