cliproxy / config.yaml
lydgs's picture
恢复官方8317端口防止和nginx所用端口7860冲突
6351d1a verified
raw
history blame contribute delete
509 Bytes
# Hugging Face 部署配置
host: "0.0.0.0"
port: 8317
# 设为8317防止和nginx冲突
# 数据库配置(根据你的线上库修改)
# 注意:一定要包含 sslmode=require 或 disable
pgstore-dsn: "${PGSTORE_DSN}"
# 认证与日志目录(建议指向 /tmp 或持久化目录)
auth-dir: "/tmp/.cli-proxy-api"
logging-to-file: true
logs-dir: "/tmp/logs"
# 管理配置
remote-management:
enabled: true
secret-key: "${MANAGEMENT_PASSWORD}"
# 性能模式
commercial-mode: true
debug: false