30 lines
578 B
YAML
30 lines
578 B
YAML
app:
|
|
name: "Huobao Drama API"
|
|
version: "1.0.0"
|
|
debug: true
|
|
language: "zh" # 系统语言:zh(中文) 或 en(英文)
|
|
|
|
server:
|
|
port: 5678
|
|
host: "0.0.0.0"
|
|
cors_origins:
|
|
- "http://localhost:3012"
|
|
read_timeout: 600
|
|
write_timeout: 600
|
|
|
|
database:
|
|
type: "mysql"
|
|
url: "mysql://huobao:huobao@127.0.0.1:3306/huobao_drama"
|
|
max_idle: 10
|
|
max_open: 100
|
|
|
|
storage:
|
|
type: "local"
|
|
local_path: "./data/storage"
|
|
base_url: "http://localhost:5678/static"
|
|
|
|
ai:
|
|
default_text_provider: "openai"
|
|
default_image_provider: "openai"
|
|
default_video_provider: "doubao"
|