mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
Update docker-setup.sh
This commit is contained in:
parent
b9c86a4049
commit
54ad58232f
1 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# 本文件是用于一键启动命令,原理是自动下载本项目所需文件,并通过docker-conpose启动镜像
|
||||
# 所需条件(否则无法使用):
|
||||
# 1、请确保你的环境可以正常访问 GitHub 否则无法下载脚本
|
||||
# 2、已经安装docker
|
||||
#
|
||||
# 检测操作系统类型
|
||||
case "$(uname -s)" in
|
||||
Linux*) OS=Linux;;
|
||||
|
|
@ -99,4 +103,4 @@ echo "${GREEN}docker logs -f xiaozhi-esp32-server${NC}"
|
|||
echo "\n${RED}重要提示:${NC}"
|
||||
echo "1. 请确保编辑 data/.config.yaml 文件,配置必要的API密钥"
|
||||
echo "2. 特别是 ChatGLM 和 mem0ai 的密钥必须配置"
|
||||
echo "3. 配置完成后再启动 docker 服务"
|
||||
echo "3. 配置完成后再启动 docker 服务"
|
||||
|
|
|
|||
Loading…
Reference in a new issue