Compare commits
3 Commits
52f025ae32
...
1052c1b619
| Author | SHA1 | Date | |
|---|---|---|---|
| 1052c1b619 | |||
| 9958b8e848 | |||
| b15161dad7 |
47
.env.example
47
.env.example
@@ -1,20 +1,42 @@
|
|||||||
# API Keys
|
# Configuration
|
||||||
# Deepseek API Key (for LLM in alfred)
|
LIBRECHAT_VERSION=v0.8.1
|
||||||
|
RAG_VERSION=v0.7.0
|
||||||
|
|
||||||
|
# Keys
|
||||||
|
# - Deepseek API
|
||||||
DEEPSEEK_API_KEY=
|
DEEPSEEK_API_KEY=
|
||||||
|
|
||||||
|
# - Google API
|
||||||
|
GOOGLE_API_KEY=
|
||||||
|
#GOOGLE_MODELS=gemini-2.5-pro,gemini-2.5-flash,gemini-2.5-flash-lite,gemini-2.0-flash,gemini-2.0-flash-lite #TODO:Update models
|
||||||
|
|
||||||
|
# - Anthropic API
|
||||||
|
ANTHROPIC_API_KEY=
|
||||||
|
|
||||||
|
# - Kimi API
|
||||||
|
KIMI_API_KEY=
|
||||||
|
|
||||||
|
# - ChatGPT/Open API
|
||||||
|
OPENAI_API_KEY=
|
||||||
|
|
||||||
|
# - Themoviedb.org API (media metadata)
|
||||||
|
TMDB_API_KEY=
|
||||||
|
|
||||||
|
# - Security keys
|
||||||
|
JWT_SECRET=
|
||||||
|
JWT_REFRESH_SECRET=
|
||||||
|
CREDS_KEY=
|
||||||
|
CREDS_IV=
|
||||||
|
|
||||||
|
# Local LLM
|
||||||
OLLAMA_BASE_URL=
|
OLLAMA_BASE_URL=
|
||||||
OLLAMA_MODEL=
|
OLLAMA_MODEL=
|
||||||
|
|
||||||
# Alfred Configuration
|
# Alfred Configuration
|
||||||
# LLM Provider (deepseek or ollama)
|
|
||||||
LLM_PROVIDER=deepseek
|
LLM_PROVIDER=deepseek
|
||||||
|
|
||||||
# Memory storage directory (inside container)
|
# Memory storage directory (inside container)
|
||||||
MEMORY_STORAGE_DIR=data/memory
|
MEMORY_STORAGE_DIR=/data/memory
|
||||||
|
|
||||||
# External Services (Optional)
|
|
||||||
# TMDB API Key (for movie metadata)
|
|
||||||
TMDB_API_KEY=
|
|
||||||
|
|
||||||
# qBittorrent Configuration
|
# qBittorrent Configuration
|
||||||
QBITTORRENT_URL=
|
QBITTORRENT_URL=
|
||||||
@@ -25,8 +47,7 @@ QBITTORRENT_PASSWORD=adminadmin
|
|||||||
DEBUG_LOGGING=false
|
DEBUG_LOGGING=false
|
||||||
DEBUG_CONSOLE=false
|
DEBUG_CONSOLE=false
|
||||||
|
|
||||||
# Required security keys
|
# Postgres (RAG)
|
||||||
JWT_SECRET=
|
POSTGRES_DB=
|
||||||
JWT_REFRESH_SECRET=
|
POSTGRES_USER=
|
||||||
CREDS_KEY=
|
POSTGRES_PASSWORD=
|
||||||
CREDS_IV=
|
|
||||||
|
|||||||
@@ -79,7 +79,11 @@ services:
|
|||||||
container_name: alfred-rag
|
container_name: alfred-rag
|
||||||
image: ghcr.io/danny-avila/librechat-rag-api-dev-lite:${RAG_VERSION}
|
image: ghcr.io/danny-avila/librechat-rag-api-dev-lite:${RAG_VERSION}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
environment:
|
environment:
|
||||||
|
- DB_HOST=vectordb
|
||||||
|
- DB_PORT=5432
|
||||||
- RAG_PORT=${RAG_PORT:-8000}
|
- RAG_PORT=${RAG_PORT:-8000}
|
||||||
ports:
|
ports:
|
||||||
- "${RAG_PORT:-8000}:${RAG_PORT:-8000}"
|
- "${RAG_PORT:-8000}:${RAG_PORT:-8000}"
|
||||||
@@ -89,10 +93,8 @@ services:
|
|||||||
container_name: alfred-vectordb
|
container_name: alfred-vectordb
|
||||||
image: pgvector/pgvector:0.8.0-pg16-bookworm
|
image: pgvector/pgvector:0.8.0-pg16-bookworm
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
env_file:
|
||||||
- POSTGRES_DB=${VECTOR_DB_NAME:-vectordb}
|
- .env
|
||||||
- POSTGRES_USER=${VECTOR_DB_USER:-postgres}
|
|
||||||
- POSTGRES_PASSWORD=${VECTOR_DB_PASSWORD:-postgres}
|
|
||||||
ports:
|
ports:
|
||||||
- "${VECTOR_DB_PORT:-5432}:5432"
|
- "${VECTOR_DB_PORT:-5432}:5432"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user