Skip to content

Instantly share code, notes, and snippets.

@yevmoroz
Created June 1, 2024 17:21
Show Gist options
  • Save yevmoroz/795faac1d31530769b298077791ba59d to your computer and use it in GitHub Desktop.
Save yevmoroz/795faac1d31530769b298077791ba59d to your computer and use it in GitHub Desktop.
umbrel tailscale exit node docker compose setup
version: '3.7'
services:
web:
network_mode: host
image: >-
tailscale/tailscale:v1.66@sha256:cf8e97667e8be250caaed88694cec0befe11040bbd5a3de3b33086cc52ef4eb1
restart: on-failure
stop_grace_period: 1m
environment:
- TS_EXTRA_ARGS=--advertise-exit-mode --exit-node-allow-lan-access
command: >-
sh -c 'tailscale web --listen 0.0.0.0:8240 & exec tailscaled'
volumes:
- ${APP_DATA_DIR}/data:/var/lib
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
container_name: tailscale_web_1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment