-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (31 loc) · 1.16 KB
/
Copy path.env.example
File metadata and controls
34 lines (31 loc) · 1.16 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
NODE_ENV=development
APP_ENV=development
API_PORT=3000
WEB_PORT=5173
CORS_ORIGIN=
# Local development only. For LAN/production, use apps/web/.env.production.example.
VITE_API_BASE_URL=http://localhost:3000
VITE_APP_ENV=development
VITE_APP_ENV_LABEL=开发环境 / Mock
VITE_ENABLE_MOCK=true
# Local development services. Prisma uses DATABASE_URL from Phase 1 onward.
DATABASE_URL="postgresql://geo_workstation:geo_workstation@localhost:5432/geo_workstation?schema=public"
REDIS_URL=redis://localhost:6379
LOCAL_STORAGE_ROOT=./storage
# Internal MVP auth. Replace JWT_SECRET and admin password before any shared deployment.
JWT_SECRET="local_dev_jwt_secret_change_me_123456789"
JWT_EXPIRES_IN=12h
DEFAULT_ADMIN_EMAIL="admin@example.com"
DEFAULT_ADMIN_PASSWORD="change_me_admin_password"
BYPASS_AUTH_FOR_TESTS=false
ENABLE_MOCK_AUTH=true
INCLUDE_DEMO_SEED=false
# AI Provider. Default mock keeps the system runnable without a real key.
AI_PROVIDER="mock"
ENABLE_MOCK_PROVIDER=true
AI_OPENAI_COMPATIBLE_BASE_URL=https://api.deepseek.com/v1
AI_OPENAI_COMPATIBLE_API_KEY=change_me
AI_OPENAI_COMPATIBLE_MODEL=deepseek-chat
AI_REQUEST_TIMEOUT_MS=60000
AI_MAX_TOKENS=3000
AI_TEMPERATURE=0.7