roseforyou commited on
Commit
c499018
·
verified ·
1 Parent(s): 2e68652

Create config.yaml

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