Refactor docker-compose.yml for consistency and add new services; update librechat.yaml with additional model references and configuration adjustments.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
services:
|
||||
api:
|
||||
container_name: LibreChat
|
||||
container_name: librechat
|
||||
ports:
|
||||
- "${PORT}:${PORT}"
|
||||
depends_on:
|
||||
@@ -24,17 +24,36 @@ services:
|
||||
- type: bind
|
||||
source: ./.env
|
||||
target: /app/.env
|
||||
- ./librechat.yaml:/app/librechat.yaml
|
||||
- ./images:/app/client/public/images
|
||||
- ./uploads:/app/uploads
|
||||
- ./logs:/app/logs
|
||||
networks:
|
||||
- chat-net
|
||||
client:
|
||||
image: nginx:1.27.0-alpine
|
||||
container_name: librechat-nginx
|
||||
expose:
|
||||
- 80
|
||||
- 443
|
||||
depends_on:
|
||||
- api
|
||||
networks:
|
||||
- chat-net
|
||||
- edge-little
|
||||
restart: always
|
||||
volumes:
|
||||
- ./client/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
mongodb:
|
||||
container_name: chat-mongodb
|
||||
container_name: librechat-mongodb
|
||||
image: mongo
|
||||
restart: always
|
||||
user: "${UID}:${GID}"
|
||||
volumes:
|
||||
- ./data-node:/data/db
|
||||
command: mongod --noauth
|
||||
networks:
|
||||
- chat-net
|
||||
meilisearch:
|
||||
container_name: chat-meilisearch
|
||||
image: getmeili/meilisearch:v1.12.3
|
||||
@@ -46,8 +65,10 @@ services:
|
||||
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
||||
volumes:
|
||||
- ./meili_data_v1.12:/meili_data
|
||||
networks:
|
||||
- chat-net
|
||||
vectordb:
|
||||
container_name: vectordb
|
||||
container_name: librechat-vectordb
|
||||
image: pgvector/pgvector:0.8.0-pg15-trixie
|
||||
environment:
|
||||
POSTGRES_DB: mydatabase
|
||||
@@ -55,9 +76,11 @@ services:
|
||||
POSTGRES_PASSWORD: mypassword
|
||||
restart: always
|
||||
volumes:
|
||||
- pgdata2:/var/lib/postgresql/data
|
||||
- librechat-pgdata:/var/lib/postgresql/data
|
||||
networks:
|
||||
- chat-net
|
||||
rag_api:
|
||||
container_name: rag_api
|
||||
container_name: librechat-rag_api
|
||||
image: ghcr.io/danny-avila/librechat-rag-api-dev-lite:latest
|
||||
environment:
|
||||
- DB_HOST=vectordb
|
||||
@@ -65,8 +88,17 @@ services:
|
||||
restart: always
|
||||
depends_on:
|
||||
- vectordb
|
||||
networks:
|
||||
- chat-net
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
volumes:
|
||||
pgdata2:
|
||||
librechat-pgdata:
|
||||
external: true
|
||||
networks:
|
||||
chat-net:
|
||||
driver: bridge
|
||||
name: chat-net
|
||||
edge-little:
|
||||
external: true
|
||||
@@ -284,15 +284,51 @@ endpoints:
|
||||
baseURL: 'http://llm.toy'
|
||||
models:
|
||||
default:
|
||||
- 'claude-sonnet-4-5'
|
||||
- 'claude-opus-4-5'
|
||||
- 'claude-haiku-4-5'
|
||||
- 'rerank-v3.5'
|
||||
- 'deepgram/base'
|
||||
- 'deepgram/nova-3'
|
||||
- 'deepgram/nova-3-general'
|
||||
- 'deepgram/whisper'
|
||||
- 'deepgram/whisper-base'
|
||||
- 'deepgram/whisper-large'
|
||||
- 'deepgram/whisper-medium'
|
||||
- 'deepgram/whisper-small'
|
||||
- 'deepgram/whisper-tiny'
|
||||
- 'elevenlabs/scribe_v1'
|
||||
- 'fireworks_ai/glm-4p7'
|
||||
- 'gemini/imagen-4.0-ultra-generate-001'
|
||||
- 'ollama/gpt-oss:20b'
|
||||
- 'gpt-5.2'
|
||||
- 'gemini/gemini-3-pro-preview'
|
||||
- 'gemini/gemini-3-flash-preview'
|
||||
- 'gpt-realtime-mini'
|
||||
- 'text-embedding-3-large'
|
||||
- 'text-embedding-3-small'
|
||||
- 'fireworks_ai/deepseek-v3p2'
|
||||
fetch: true
|
||||
- 'fireworks_ai/kimi-k2-instruct'
|
||||
- 'gpt-realtime'
|
||||
- 'tts-1'
|
||||
- 'tts-1-hd'
|
||||
- 'whisper-1'
|
||||
- 'fireworks_ai/qwen3-vl-235b-a22b-instruct'
|
||||
- 'fireworks_ai/gpt-oss-120b'
|
||||
- 'fireworks_ai/minimax-m2p1'
|
||||
- 'gemini/imagen-4.0-generate-001'
|
||||
- 'gemini/imagen-4.0-fast-generate-001'
|
||||
- 'fireworks_ai/glm-4p6'
|
||||
- 'fireworks_ai/kimi-k2-thinking'
|
||||
- 'fireworks_ai/qwen3-vl-235b-a22b-thinking'
|
||||
fetch: false
|
||||
titleConvo: true
|
||||
titleModel: 'fireworks_ai/qwen3-vl-30b-a3b-instruct'
|
||||
titleModel: 'fireworks_ai/gpt-oss-120b'
|
||||
modelDisplayLabel: 'LLM'
|
||||
# Summarize setting: Set to true to enable summarization.
|
||||
summarize: true
|
||||
# Summary Model: Specify the model to use if summarization is enabled.
|
||||
summaryModel: "fireworks_ai/qwen3-vl-30b-a3b-instruct" # Defaults to "gpt-3.5-turbo" if omitted.
|
||||
summaryModel: "fireworks_ai/qwen3-vl-235b-a22b-instruct" # Defaults to "gpt-3.5-turbo" if omitted.
|
||||
# Force Prompt setting: If true, sends a `prompt` parameter instead of `messages`.
|
||||
forcePrompt: false
|
||||
dropParams: ['stop', 'user', 'frequency_penalty', 'presence_penalty']
|
||||
|
||||
Reference in New Issue
Block a user