feat(headscale): add headplane web UI at /admin
Integrate headplane (ghcr.io/tale/headplane) into the headscale stack, served by Caddy at /admin. API-only (no Docker socket); deploy.sh mints a headscale API key on first run, generates headplane.yaml, and wires optional OIDC login via pocket-id (second client, /admin/oidc/callback). Adds HEADPLANE_* env, compose service, Caddy routing; rebuild embedded archive.
This commit is contained in:
6 files changed
+230
-84
No files matched your search
+3
-1
@@ -86,7 +86,9 @@ ask_deployment_vars() {
|
||||
ask TAILNET_DOMAIN "Tailnet MagicDNS base (e.g. tail.example.com)"
|
||||
ask POCKETID_DOMAIN "OIDC issuer hostname (your pocket-id)"
|
||||
ask OIDC_CLIENT_ID "OIDC client_id (from pocket-id)"
|
||||
ask OIDC_CLIENT_SECRET "OIDC client_secret (from pocket-id)" password ;;
|
||||
ask OIDC_CLIENT_SECRET "OIDC client_secret (from pocket-id)" password
|
||||
ask HEADPLANE_OIDC_CLIENT_ID "headplane UI OIDC client_id (blank = API-key login)" optional
|
||||
if [[ -n "${HEADPLANE_OIDC_CLIENT_ID:-}" ]]; then ask HEADPLANE_OIDC_CLIENT_SECRET "headplane UI OIDC client_secret" password; fi ;;
|
||||
webfinger)
|
||||
ask BASE_DOMAIN "Apex domain to serve (e.g. example.com)"
|
||||
ask ISSUER_URL "OIDC issuer URL (e.g. https://auth.example.com)"
|
||||
|
||||
Reference in new issue
Block a user