Initial commit
This commit is contained in:
18
backend/config.yaml
Normal file
18
backend/config.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
# AI 服务配置
|
||||
ai:
|
||||
# API Key (优先使用环境变量 AI_API_KEY)
|
||||
api_key: "${AI_API_KEY}"
|
||||
# Base URL (优先使用环境变量 AI_BASE_URL)
|
||||
base_url: "${AI_BASE_URL}"
|
||||
# 模型名称 (优先使用环境变量 AI_MODEL)
|
||||
model: "${AI_MODEL}"
|
||||
|
||||
# 数据库配置
|
||||
database:
|
||||
url: "${DATABASE_URL}"
|
||||
|
||||
# 服务器配置
|
||||
server:
|
||||
host: "0.0.0.0"
|
||||
port: 8080
|
||||
debug: true
|
||||
Reference in New Issue
Block a user