umbrel-apps/tailscale/docker-compose.yml
Steven Briscoe 11f36560e8
Remove hard-coded container IPs (#310)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
2022-12-04 20:18:22 +00:00

12 lines
434 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.158@sha256:e5610d019e82ac1929a9318ca928f0ed4bceaeb4c47541eff690a375995866a2
restart: on-failure
stop_grace_period: 1m
command: "sh -c 'tailscale web --listen 0.0.0.0:8240 & exec tailscaled --tun=userspace-networking'"
volumes:
- ${APP_DATA_DIR}/data:/var/lib