Files
QingLong/XiaoZhi/xiaozhi-esp32-server/main/xiaozhi-server/config_from_api.yaml
2025-08-15 09:13:13 +08:00

12 lines
992 B
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.

# 如果你只想轻量化安装xiaozhi-server只使用本地的配置文件不需要理会这个文件不需要改动本文件任何东西
# 如果你想从manager-api获取配置请往下看
# 请将本文件复制到xiaozhi-server/data目录下没有data目录请创建一个并将复制过去的文件命名为.config.yaml
# 注意如果data目录有.config.yaml文件请先删除它
# 先启动manager-api和manager-web注册一个账号第一个注册的账号为管理员
# 使用管理员进入【参数管理】页面找到【server.secret】复制它到参数值注意每次从零部署server.secret都会变化
# 打开本data目录下的.config.yaml文件修改manager-api.secret为刚才复制出来的server.secret
manager-api:
# 你的manager-api的地址最好使用局域网ip
url: http://127.0.0.1:8002/xiaozhi
# 你的manager-api的token就是刚才复制出来的server.secret
secret: 你的server.secret值