fix(librechat): correct YAML config format and add required secrets
- Fix endpoints config: use `custom` array format (not `ollama` key) per LibreChat docs - Add required JWT_SECRET, JWT_REFRESH_SECRET, CREDS_KEY, CREDS_IV environment variables - Update config version to 1.2.8 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -69,6 +69,11 @@ services:
|
|||||||
ALLOW_REGISTRATION: "false"
|
ALLOW_REGISTRATION: "false"
|
||||||
ALLOW_SOCIAL_LOGIN: "true"
|
ALLOW_SOCIAL_LOGIN: "true"
|
||||||
ALLOW_SOCIAL_REGISTRATION: "true"
|
ALLOW_SOCIAL_REGISTRATION: "true"
|
||||||
|
# JWT / encryption secrets (required by LibreChat)
|
||||||
|
CREDS_KEY: "97e95d72cdda06774a264f9fb7768097a6815dc1e930898d2e39c9a3a253b157"
|
||||||
|
CREDS_IV: "2ea456ab25279089b0ff9e7aca1df6e6"
|
||||||
|
JWT_SECRET: "767b962176666eab56e180e6f2d3fe95145dc6b978e37d4eb8d1da5421c5fb26"
|
||||||
|
JWT_REFRESH_SECRET: "51a43a1fca4b7b501b37e226a638645d962066e0686b82248921f3160e96501e"
|
||||||
# App settings
|
# App settings
|
||||||
APP_TITLE: CERTifAI Chat
|
APP_TITLE: CERTifAI Chat
|
||||||
CUSTOM_FOOTER: CERTifAI - Sovereign GenAI Infrastructure
|
CUSTOM_FOOTER: CERTifAI - Sovereign GenAI Infrastructure
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# CERTifAI LibreChat Configuration
|
# CERTifAI LibreChat Configuration
|
||||||
# Ollama backend for self-hosted LLM inference.
|
# Ollama backend for self-hosted LLM inference.
|
||||||
version: 1.2.1
|
version: 1.2.8
|
||||||
|
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
@@ -18,18 +18,23 @@ interface:
|
|||||||
parameters: true
|
parameters: true
|
||||||
|
|
||||||
endpoints:
|
endpoints:
|
||||||
ollama:
|
custom:
|
||||||
titleModel: "current_model"
|
- name: "Ollama"
|
||||||
# Use the Docker host network alias when running inside compose.
|
apiKey: "ollama"
|
||||||
# Override OLLAMA_URL in .env for external Ollama instances.
|
baseURL: "http://host.docker.internal:11434/v1/"
|
||||||
url: "http://host.docker.internal:11434"
|
models:
|
||||||
models:
|
default:
|
||||||
fetch: true
|
- "llama3.1:8b"
|
||||||
summarize: true
|
- "qwen3:30b-a3b"
|
||||||
forcePrompt: false
|
fetch: true
|
||||||
dropParams:
|
titleConvo: true
|
||||||
- stop
|
titleModel: "current_model"
|
||||||
- user
|
summarize: false
|
||||||
- frequency_penalty
|
summaryModel: "current_model"
|
||||||
- presence_penalty
|
forcePrompt: false
|
||||||
modelDisplayLabel: "CERTifAI Ollama"
|
modelDisplayLabel: "CERTifAI Ollama"
|
||||||
|
dropParams:
|
||||||
|
- stop
|
||||||
|
- user
|
||||||
|
- frequency_penalty
|
||||||
|
- presence_penalty
|
||||||
|
|||||||
Reference in New Issue
Block a user