-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (37 loc) · 1.28 KB
/
.env.example
File metadata and controls
44 lines (37 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Database Configuration
# NOTE: Use psycopg2 (sync driver), NOT asyncpg. The RAGManager uses synchronous SQLAlchemy.
# LangChain PGVector will automatically convert this to psycopg3 format internally.
DATABASE_URL=postgresql+psycopg2://postgres:postgres@postgres:5432/vectordb
# RabbitMQ Configuration
RABBITMQ_USER=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_MANAGEMENT_PORT=15672
MINIO_ENDPOINT=http://minio:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET=goland-bucket
MINIO_FOLDER=rag-docs
MINIO_USE_SSL=false
# OpenAI Configuration
OPENAI_API_KEY=your-openai-api-key-here
# Chunking Configuration (if needed)
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
EMBEDDING_MODEL="text-embedding-3-small"
EMBEDDING_DIMENSION=1536
# =============================================================================
# IMPORTANT NOTES
# =============================================================================
# 1. For local development (app running outside Docker):
# - Set POSTGRES_HOST=localhost
# - Set RABBITMQ_HOST=localhost
#
# 2. For app running inside Docker:
# - Set POSTGRES_HOST=postgres
# - Set RABBITMQ_HOST=rabbitmq
#
# 3. For production/external services:
# - Use strong, random passwords
# - Add your actual OPENAI_API_KEY