zt1224 commited on
Commit
3e56f6f
·
verified ·
1 Parent(s): b2ea4cf

Create config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +17 -0
config.yaml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 服务监听配置
2
+ host: "0.0.0.0"
3
+ port: 7860
4
+
5
+ # 目录配置(使用 /tmp 避免权限问题)
6
+ auth-dir: "/tmp/.cli-proxy-api"
7
+ logging-to-file: true
8
+ logs-dir: "/tmp/logs"
9
+
10
+ # 管理后台
11
+ remote-management:
12
+ enabled: true
13
+ secret-key: "${MANAGEMENT_PASSWORD}"
14
+
15
+ # 性能配置
16
+ commercial-mode: true
17
+ debug: false