You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
992 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 如果你只想轻量化安装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值