Add PROXY_SECRET for IBM i proxy auth
This commit is contained in:
@@ -88,6 +88,15 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"default": "",
|
"default": "",
|
||||||
"env_variable": "CONTEXT_ROOT"
|
"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
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -22,6 +22,7 @@ services:
|
|||||||
- OLLAMA_MODEL=${OLLAMA_MODEL}
|
- OLLAMA_MODEL=${OLLAMA_MODEL}
|
||||||
- OLLAMA_API_KEY=${OLLAMA_API_KEY}
|
- OLLAMA_API_KEY=${OLLAMA_API_KEY}
|
||||||
- CONTEXT_ROOT=${CONTEXT_ROOT}
|
- CONTEXT_ROOT=${CONTEXT_ROOT}
|
||||||
|
- PROXY_SECRET=${PROXY_SECRET}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl --fail http://localhost:8001$${CONTEXT_ROOT}/api/health || exit 1
|
test: curl --fail http://localhost:8001$${CONTEXT_ROOT}/api/health || exit 1
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user