Fix Headscale pilot policy and healthchecks
Some checks failed
secret-guardrails / artifact-secret-scan (push) Has been cancelled
secret-guardrails / gitleaks (push) Has been cancelled

This commit is contained in:
Fizzlepoof
2026-05-26 01:18:19 +00:00
parent 12452bac64
commit e9b61ad3cd
4 changed files with 14 additions and 6 deletions

View File

@@ -28,7 +28,15 @@ Self-hosted Headscale + Headplane pilot stack for replacing the Tailscale free-t
- Headscale control plane: `http://headscale.home.paccoco.com:8084` - Headscale control plane: `http://headscale.home.paccoco.com:8084`
- Headplane UI: `http://headplane.home.paccoco.com:3005/admin` - Headplane UI: `http://headplane.home.paccoco.com:3005/admin`
These are intentionally LAN/private-DNS endpoints for the pilot. If you later want Traefik/Pangolin exposure, use `examples/traefik-routes.yml` as a starting point instead of changing the pilot shape first. These are the intended LAN/private-DNS endpoints for the pilot. If you later want Traefik/Pangolin exposure, use `examples/traefik-routes.yml` as a starting point instead of changing the pilot shape first.
### Current live pilot note
The live PD pilot is currently using direct-IP URLs instead:
- Headscale: `http://10.5.30.6:8084`
- Headplane: `http://10.5.30.6:3005/admin`
Reason: the `home.paccoco.com` records for these pilot names have not yet been added in Technitium, and the current Technitium admin flow is 2FA-gated. Once those DNS records exist, flip the live stack back to the hostname-based URLs above.
## Initial users ## Initial users

View File

@@ -16,11 +16,13 @@ headscale:
integration: integration:
agent: agent:
enabled: false enabled: false
pre_authkey: ""
docker: docker:
enabled: true enabled: true
container_label: "me.tale.headplane.target=headscale" container_label: "me.tale.headplane.target=headscale"
socket: "unix:///var/run/docker.sock" socket: "unix:///var/run/docker.sock"
kubernetes: kubernetes:
enabled: false enabled: false
pod_name: ""
proc: proc:
enabled: false enabled: false

View File

@@ -20,16 +20,14 @@
"dst": [ "dst": [
"tag:infra:*", "tag:infra:*",
"tag:apps:*", "tag:apps:*",
"tag:admin:*", "tag:admin:*"
"autogroup:self:*"
] ]
}, },
{ {
"action": "accept", "action": "accept",
"src": ["group:vip"], "src": ["group:vip"],
"dst": [ "dst": [
"tag:apps:*", "tag:apps:*"
"autogroup:self:*"
] ]
} }
], ],

View File

@@ -25,7 +25,7 @@ services:
- /mnt/docker-ssd/docker/appdata/headscale:/var/lib/headscale - /mnt/docker-ssd/docker/appdata/headscale:/var/lib/headscale
- /mnt/docker-ssd/docker/appdata/headscale/run:/var/run/headscale - /mnt/docker-ssd/docker/appdata/headscale/run:/var/run/headscale
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/health >/dev/null 2>&1 || exit 1"] test: ["CMD", "headscale", "version"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 5 retries: 5