-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
45 lines (37 loc) · 1.69 KB
/
.env.example
File metadata and controls
45 lines (37 loc) · 1.69 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
# MomShell Environment Configuration
# Copy to .env and fill in your values
# ==================== Database ====================
# Set strong, unique credentials here — never commit real passwords
POSTGRES_USER=momshell
POSTGRES_PASSWORD=CHANGE_ME
POSTGRES_DB=momshell
# Local development (keep credentials in sync with POSTGRES_* vars above)
DATABASE_URL=postgres://momshell:${POSTGRES_PASSWORD}@localhost:5432/momshell?sslmode=disable
# Docker deployment (uses container name "postgres" as host)
# DATABASE_URL=postgres://momshell:CHANGE_ME@postgres:5432/momshell?sslmode=disable
# ==================== JWT ====================
# IMPORTANT: Change this in production
JWT_SECRET_KEY=change-me-in-production
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
# ==================== OpenAI Compatible API ====================
OPENAI_API_KEY=
OPENAI_BASE_URL=https://api-inference.modelscope.cn/v1
OPENAI_MODEL=Qwen/Qwen3-235B-A22B
IMAGE_MODEL=Tongyi-MAI/Z-Image-Turbo
# ==================== Firecrawl (Web Search) ====================
FIRECRAWL_API_KEY=
# ==================== Server ====================
PORT=8000
# ==================== Frontend ====================
# Backend API URL (defaults to http://localhost:8000, leave empty for Nginx proxy in production)
VITE_API_BASE_URL=http://localhost:8000
# ==================== Initial Admin (optional, created on first startup) ====================
ADMIN_USERNAME=
ADMIN_EMAIL=
ADMIN_PASSWORD=
# ==================== AI Service User (optional) ====================
# Internal service account for AI-generated content. If not set,
# a random password is generated on each startup (the AI user never logs in).
AI_USER_USERNAME=xiaoshiguang
AI_USER_PASSWORD=