fix: provided OpenAI API key and fixed docker-compose configuration to enable RAG service
This commit is contained in:
@@ -79,7 +79,11 @@ services:
|
||||
container_name: alfred-rag
|
||||
image: ghcr.io/danny-avila/librechat-rag-api-dev-lite:${RAG_VERSION}
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- DB_HOST=vectordb
|
||||
- DB_PORT=5432
|
||||
- RAG_PORT=${RAG_PORT:-8000}
|
||||
ports:
|
||||
- "${RAG_PORT:-8000}:${RAG_PORT:-8000}"
|
||||
@@ -89,10 +93,8 @@ services:
|
||||
container_name: alfred-vectordb
|
||||
image: pgvector/pgvector:0.8.0-pg16-bookworm
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_DB=${VECTOR_DB_NAME:-vectordb}
|
||||
- POSTGRES_USER=${VECTOR_DB_USER:-postgres}
|
||||
- POSTGRES_PASSWORD=${VECTOR_DB_PASSWORD:-postgres}
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "${VECTOR_DB_PORT:-5432}:5432"
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user