Add Authelia SSO prompt to js99er, magicmirror, wolf-pair

These services have no built-in auth. Per CLAUDE.md they should check for
Authelia and offer to protect them with SSO before calling
configure_caddy_for_service. Adds the standard prompt_yn + import authelia
extra block pattern to all three.

https://claude.ai/code/session_014CCYqVwW6d6f5dw1qRokYt
This commit is contained in:
Claude
2026-06-08 19:02:00 +00:00
parent 9f0ff0bb9f
commit 551c254b89
3 changed files with 23 additions and 3 deletions
+7 -1
View File
@@ -420,7 +420,13 @@ COMPOSE
log_success "js99er configured at $JS99ER_DIR"
# ── 5. Reverse proxy (no-ops if Caddy isn't installed locally) ───────────
configure_caddy_for_service "js99er" "js99er:80" "js99er"
local JS99ER_EXTRA_BLOCK=""
if [ -d "$DOCKER_DIR/authelia" ]; then
local _use_auth=""
prompt_yn "Protect js99er with Authelia SSO? (y/n):" "y" _use_auth
[[ "$_use_auth" =~ ^[Yy]$ ]] && JS99ER_EXTRA_BLOCK=" import authelia"
fi
configure_caddy_for_service "js99er" "js99er:80" "js99er" "$JS99ER_EXTRA_BLOCK"
# ── 6. Build & start ─────────────────────────────────────────────────────
local START_JS99ER=""