Self-Hosted Tailscale Control Plane
Run your own Headscale server with Docker Compose. Complete control over your mesh VPN network with web UI, automated SSL, and production-ready architecture.
Quick start
Get your Headscale server running in minutes
Start the stack
Launch all services with Docker Compose:
Services include Headscale, PostgreSQL, nginx reverse proxy, Headplane web GUI, and certbot for SSL.
Create a user and pre-auth key
Generate credentials for connecting devices:Save the generated key for device registration.
Features
Everything you need for a production mesh VPN
Web GUI
Headplane web interface for managing users, nodes, and keys without CLI
Production Ready
nginx reverse proxy with SSL/TLS, health checks, and automated certificate renewal
PostgreSQL Backend
Reliable database with health monitoring and backup support
ACL Policies
Tag-based access control for granular network security
Helper Scripts
Management scripts for common operations and automation
MagicDNS
Automatic DNS resolution for devices in your network
Architecture
Production-grade infrastructure stack
All services communicate via the headscale-network bridge network.
PostgreSQL provides persistent storage, nginx handles SSL termination and routing, and Headplane
offers a web-based management interface.
Explore documentation
Dive deeper into deployment, configuration, and operations
Deployment guides
Learn how to deploy for local development or production environments
Configuration
Configure Headscale, nginx, database, and ACL policies
User guides
Manage users, nodes, routes, and DNS settings
Operations
Backup, monitoring, security, and troubleshooting
Ready to get started?
Deploy your own Headscale server in minutes with our quick start guide
View quick start guide