forked from ClickHouse/agentic-data-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
121 lines (102 loc) · 3.91 KB
/
.env.example
File metadata and controls
121 lines (102 loc) · 3.91 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Auto-generated credentials template
# Copy this file to .env and populate with your values, or run scripts/generate-env.sh to populate automatically
# ============================================
# PostgreSQL Configuration
# ============================================
POSTGRES_USER=postgres
POSTGRES_PASSWORD=
POSTGRES_DB=postgres
# ============================================
# ClickHouse Configuration
# ============================================
CLICKHOUSE_USER=clickhouse
CLICKHOUSE_PASSWORD=
# ============================================
# ClickHouse MCP Configuration
# ============================================
CLICKHOUSE_MCP_AUTH_TOKEN=
# ============================================
# Redis Configuration
# ============================================
REDIS_AUTH=
# ============================================
# MinIO Configuration
# ============================================
MINIO_ROOT_USER=minio
MINIO_ROOT_PASSWORD=
# ============================================
# Langfuse Configuration
# ============================================
ENCRYPTION_KEY=
NEXTAUTH_SECRET=
SALT=
# Langfuse Initialization (required for headless setup)
LANGFUSE_INIT_ORG_ID=
LANGFUSE_INIT_ORG_NAME=Default Organization
LANGFUSE_INIT_PROJECT_ID=
LANGFUSE_INIT_PROJECT_NAME=Default Project
# Langfuse Project Keys (used by the hook)
LANGFUSE_INIT_PROJECT_PUBLIC_KEY=
LANGFUSE_INIT_PROJECT_SECRET_KEY=
# Your login credentials
LANGFUSE_INIT_USER_PASSWORD=yourpass
LANGFUSE_INIT_USER_NAME=YourName
# ============================================
# Langfuse Environment Variables
# ============================================
NEXTAUTH_URL=http://localhost:3000
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
CLICKHOUSE_MIGRATION_URL=clickhouse://clickhouse:9000
CLICKHOUSE_URL=http://clickhouse:8123
CLICKHOUSE_CLUSTER_ENABLED=false
# S3/MinIO Configuration
LANGFUSE_S3_EVENT_UPLOAD_BUCKET=langfuse
LANGFUSE_S3_EVENT_UPLOAD_ACCESS_KEY_ID=minio
LANGFUSE_S3_EVENT_UPLOAD_SECRET_ACCESS_KEY=${MINIO_ROOT_PASSWORD}
LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT=http://minio:9000
LANGFUSE_S3_MEDIA_UPLOAD_BUCKET=langfuse
LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID=minio
LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY=${MINIO_ROOT_PASSWORD}
LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT=http://localhost:9090
REDIS_HOST=redis
REDIS_PORT=6379
# ============================================
# LibreChat Configuration
# ============================================
LIBRECHAT_PORT=3080
RAG_PORT=8001
MEILI_MASTER_KEY=
VECTORDB_DB=librechat_vectordb
VECTORDB_USER=vectordb_user
VECTORDB_PASSWORD=
# ============================================
# LibreChat Configuration
# ============================================
JWT_SECRET=
JWT_REFRESH_SECRET=
# LibreChat Initial User
# Note: These are the same as the Langfuse credentials by default
LIBRECHAT_USER_PASSWORD=yourpass
LIBRECHAT_USER_NAME=YourName
# LibreChat Encryption Keys (required for encrypting user API keys)
# CREDS_KEY: 64-character hex string (32 bytes) for AES-256 encryption
# CREDS_IV: 32-character hex string (16 bytes) for AES-CBC initialization vector
CREDS_KEY=
CREDS_IV=
# LibreChat API Keys - Set to "user_provided" to allow users to configure their own keys in the UI
ANTHROPIC_API_KEY=
GOOGLE_KEY=
OPENAI_API_KEY=
# ============================================
# RAG API Configuration (File Search)
# ============================================
# The RAG API calls the embeddings endpoint directly and cannot use "user_provided" keys.
# If OPENAI_API_KEY is set to "user_provided", set RAG_OPENAI_API_KEY to a real key instead.
# RAG_OPENAI_API_KEY overrides OPENAI_API_KEY for RAG only.
# To use a different embeddings provider, set EMBEDDINGS_PROVIDER to one of:
# openai (default), azure, huggingface, huggingfacetei, or ollama.
# See: https://librechat.ai/docs/configuration/rag_api
RAG_OPENAI_API_KEY=
# EMBEDDINGS_PROVIDER=openai