Initial commit: Headscale management scripts and configuration
- Add headscale binary and configuration files - Include management scripts for API keys, nodes, and authentication - Add Docker setup with docker-compose - Include backup and restore functionality - Add example scripts for creating API keys and pre-auth keys Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
headscale:
|
||||
image: headscale/headscale:latest
|
||||
container_name: headscale
|
||||
volumes:
|
||||
- ./config:/etc/headscale
|
||||
- ./data:/var/lib/headscale
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "9090:9090"
|
||||
- "50443:50443"
|
||||
command: serve
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- shared-net
|
||||
|
||||
networks:
|
||||
shared-net:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user