-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
56 lines (43 loc) · 1.34 KB
/
Copy path.env.example
File metadata and controls
56 lines (43 loc) · 1.34 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
# Copy to .env and adjust if needed:
# cp .env.example .env
# ---------- Docker Compose (infrastructure) ----------
MYSQL_PORT=3306
MYSQL_DATABASE=chat_agent
MYSQL_PASSWORD=your_password
REDIS_PORT=6379
MINIO_API_PORT=19000
MINIO_CONSOLE_PORT=19001
MINIO_ACCESS_KEY=ak
MINIO_SECRET_KEY=sk
MINIO_BUCKET=test
PGVECTOR_PORT=5433
PGVECTOR_DATABASE=vectordb
PGVECTOR_USER=vectoruser
PGVECTOR_PASSWORD=123456
# ---------- Backend (./gradlew bootRun on host) ----------
# Defaults below match application.yml; override when using remote services.
# MYSQL_URL=jdbc:mysql://localhost:3306/chat_agent?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
# MYSQL_USERNAME=root
# MYSQL_PASSWORD=your_password
# REDIS_HOST=localhost
# REDIS_PORT=6379
# MINIO_URL=localhost:19000/
# MINIO_ENDPOINT=localhost:19000/
# MINIO_ACCESS_KEY=ak
# MINIO_SECRET_KEY=sk
# MINIO_BUCKET=test
# PGVECTOR_HOST=127.0.0.1
# PGVECTOR_PORT=5433
# PGVECTOR_DATABASE=vectordb
# PGVECTOR_USER=vectoruser
# PGVECTOR_PASSWORD=123456
# ---------- External APIs (required for full features) ----------
OPENAI_API_KEY=your-api-key
OPENAI_BASE_URL=https://api.openai.com
TAVILY_API_KEY=test
# PPT image generation (Spring requires this property at startup)
GRSAI_NANOBANANA_API_KEY=your-grsai-api-key
# Optional
# SKILLS_DIRECTORY=
# PPT_PYTHON_SCRIPT=
# SPRING_PROFILES_ACTIVE=local