Skip to content

Instantly share code, notes, and snippets.

@rem1niscence
Created October 16, 2025 16:02
Show Gist options
  • Save rem1niscence/b43d1790c82214347cb9421a69996859 to your computer and use it in GitHub Desktop.
Save rem1niscence/b43d1790c82214347cb9421a69996859 to your computer and use it in GitHub Desktop.
services:
tailscale:
container_name: tailscale
image: tailscale/tailscale:latest
network_mode: host
restart: unless-stopped
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
- /dev/net/tun:/dev/net/tun
- ./var/lib:/var/lib
- ./tailscale:/tmp
environment:
- TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=false
- TS_EXTRA_ARGS=--accept-routes
- TS_NO_LOGS_NO_SUPPORT=true
- TS_AUTH_KEY=""
env_file:
- .env
@albertbaezd
Copy link

albertbaezd commented Oct 17, 2025

Wonderful. This code suits me like reading Bleach for the first time. Such an amazing experience! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment