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