Add PROXY_SECRET for IBM i proxy auth

This commit is contained in:
2026-03-26 23:30:48 +00:00
parent 4da14d5a23
commit d5e58923bc
2 changed files with 10 additions and 0 deletions

View File

@@ -88,6 +88,15 @@
"required": false,
"default": "",
"env_variable": "CONTEXT_ROOT"
},
{
"type": "password",
"label": "Proxy Auth Secret",
"hint": "Shared secret for trusted reverse proxy authentication (X-Proxy-Secret header). Leave empty to allow unauthenticated access.",
"required": false,
"env_variable": "PROXY_SECRET",
"min": 0,
"max": 200
}
]
}

View File

@@ -22,6 +22,7 @@ services:
- OLLAMA_MODEL=${OLLAMA_MODEL}
- OLLAMA_API_KEY=${OLLAMA_API_KEY}
- CONTEXT_ROOT=${CONTEXT_ROOT}
- PROXY_SECRET=${PROXY_SECRET}
healthcheck:
test: curl --fail http://localhost:8001$${CONTEXT_ROOT}/api/health || exit 1
interval: 30s