Files
goauto/config.example.yaml
T

28 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
database:
host: 127.0.0.1
port: 3307
user: root
password: ""
name: goauto
ports:
server: 8000
web: 9527
# AI 规格匹配的 Provider、Base URL、模型和 API Key 均在管理员页面维护。根据
# #62 的内部部署例外,API Key 明文存放在专用数据库设置表,并只向管理员回显;
# 不要把 API Key 写进此文件、代码、日志、工单、Wiki、任务快照或 Android 配置。
# 顺云宝(SYB)ERP 凭据,见 docs/12-syb-erp-interface.md。
#
# `[必须]` 只放凭据。base_url、page_size、max_matches、ocr_url 等非机密项在
# server/config/settings.yml 的 extend.syb 下,不要在这里重复定义。
#
# `[必须]` 密码要加引号。本项目容忍不加引号的纯数字密码,但 YAML 会把它读成
# 整数,前导零会丢——加引号是唯一安全的写法。
#
# 不配置 syb 段时服务端照常启动,只是 SYB 商品页的「从 SYB 导入」会提示未配置。
syb:
username: 你的顺云宝账号
password: "你的密码"