forked from open-doubao-ai/OpenDoubao
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (31 loc) · 1.52 KB
/
Copy path.env.example
File metadata and controls
36 lines (31 loc) · 1.52 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
# Local APIJSONBoot-MultiDataSource (Node BFF upstream only)
# Browser → /apijson → chat-demo Node → this URL (JSESSIONID stays in Node)
APIJSON_BASE_URL=http://localhost:8080
# Optional: OpenAI-compatible API for bootstrap refinement
# Without a key, deterministic intent rules are used (Demo tables still work).
# You can also set Model / Base URL / API Key from the top-right account menu in the UI.
# OPENAI_API_KEY=
# OPENAI_BASE_URL=https://api.openai.com/v1
# OPENAI_MODEL=gpt-4o-mini
# OPENAI_LANGUAGE=en
# Approval policy: comma-separated APIJSON methods that require Admin approval.
# Other writes (e.g. post/put) auto-execute and store an auto_approved audit row.
# SENSITIVE_METHODS=delete
PORT=3000
# Demo MySQL (POST /api/ensure-layout-categories → layout_demo_categories.sql;
# POST /api/ensure-layout-address → layout_demo_address.sql)
# MYSQL_HOST=127.0.0.1
# MYSQL_PORT=3306
# MYSQL_USER=root
# MYSQL_PASSWORD=apijson
# MYSQL_DATABASE=sys
# MYSQL_BIN=/usr/local/mysql/bin/mysql
# apps/admin — Apply submit/status + available-requests for chat-demo; approve writes Access/Request/Document/Chain
# ADMIN_PORT=3001
# ADMIN_BASE_URL=http://127.0.0.1:3001
# Admin SPA list/edit Apply/Call → APIJSON Server HTTP; chat-demo → admin BFF for Apply + catalog.
# Apply once: apps/admin/sql/sys_Apply.sql + sys_Call.sql then reload Access/Request
# APIJSON admin session used for DB store + approve writes (demo defaults OK for local)
# APIJSON_ADMIN_LOGIN=13000082001
# APIJSON_ADMIN_PASSWORD=123456
# APIJSON_ADMIN_USER_ID=82001