yi124773651 commited on
Commit
235ae8c
·
verified ·
1 Parent(s): 3405af1

Create config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +21 -0
config.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hugging Face 部署配置
2
+ host: "0.0.0.0"
3
+ port: 7860
4
+
5
+ # 数据库配置(根据你的线上库修改)
6
+ # 注意:一定要包含 sslmode=require 或 disable
7
+ pgstore-dsn: "${PGSTORE_DSN}"
8
+
9
+ # 认证与日志目录(建议指向 /tmp 或持久化目录)
10
+ auth-dir: "/tmp/.cli-proxy-api"
11
+ logging-to-file: true
12
+ logs-dir: "/tmp/logs"
13
+
14
+ # 管理配置
15
+ remote-management:
16
+ enabled: true
17
+ secret-key: "${MANAGEMENT_PASSWORD}"
18
+
19
+ # 性能模式
20
+ commercial-mode: true
21
+ debug: false