Spaces:
Runtime error
Runtime error
Create config.yaml
Browse files- 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
|