Take full control of your private network with this open-source, self-hosted implementation of the Tailscale control server. It allows you to run your own coordination server, removing the dependency on the official SaaS offering and giving you complete ownership of your network infrastructure.
The primary design goal is to provide a focused and efficient server for a single Tailscale network (tailnet). This makes it an excellent choice for specific use cases where a large, multi-user enterprise setup is not required.
This tool is particularly well-suited for:
By implementing a narrow scope, it offers a stable and manageable alternative for creating your own secure, point-to-point mesh network.
services:
headscale:
image: headscale/headscale:latest
container_name: headscale
restart: unless-stopped
command: headscale serve
ports:
- 8080:8080
- 9090:9090
volumes:
- ./config:/etc/headscale
- ./data:/var/lib/headscale
environment:
- HEADSCALE_OIDC_CLIENT_SECRET=${HEADSCALE_OIDC_CLIENT_SECRET}HEADSCALE_OIDC_CLIENT_SECRET=your_super_secret_oidc_client_secretAuto-fetched about 19 hours ago
Auto-fetched about 19 hours ago