mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
fix: 修复docker快速启动方式中无法读取配置的问题 #207
This commit is contained in:
parent
2676331804
commit
d926a994f3
1 changed files with 2 additions and 0 deletions
|
|
@ -14,5 +14,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
# 配置文件目录
|
# 配置文件目录
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
|
# 配置到容器目录的映射
|
||||||
|
- ./data:/opt/xiaozhi-esp32-server/data
|
||||||
# 模型文件挂接,很重要
|
# 模型文件挂接,很重要
|
||||||
- ./models/SenseVoiceSmall/model.pt:/app/models/SenseVoiceSmall/model.pt
|
- ./models/SenseVoiceSmall/model.pt:/app/models/SenseVoiceSmall/model.pt
|
||||||
Loading…
Reference in a new issue