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