-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathconfig.yaml
More file actions
38 lines (32 loc) · 950 Bytes
/
config.yaml
File metadata and controls
38 lines (32 loc) · 950 Bytes
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
server:
host: "0.0.0.0" # Docker 环境必须监听 0.0.0.0
port: 8080
database:
path: "storage/local/service.db"
storage:
local_dir: "storage/local"
oss:
enabled: false
endpoint: "oss-cn-hangzhou.aliyuncs.com"
access_key_id: ""
access_key_secret: ""
bucket_name: ""
domain: ""
providers:
gemini:
enabled: true
api_key: "${GEMINI_API_KEY:YOUR_GEMINI_API_KEY}"
api_base: "${GEMINI_API_BASE:https://generativelanguage.googleapis.com}"
openai:
enabled: false
api_key: "${OPENAI_API_KEY:YOUR_OPENAI_API_KEY}"
api_base: "${OPENAI_API_BASE:https://api.openai.com/v1}"
prompts:
optimize_system: null
optimize_system_json: null
templates:
remote_url: "https://raw.githubusercontent.com/ShellMonster/Nano_Banana_Pro_Web/refs/heads/main/backend/internal/templates/assets/templates.json"
fetch_timeout_seconds: 4
exports:
remote_fetch_timeout_seconds: 120
remote_max_file_mb: 512