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.
20 lines
566 B
20 lines
566 B
3 months ago
|
# Docker安装Server
|
||
|
|
||
|
version: '3'
|
||
|
services:
|
||
|
xiaozhi-esp32-server:
|
||
|
image: ghcr.nju.edu.cn/xinnan-tech/xiaozhi-esp32-server:server_latest
|
||
|
container_name: xiaozhi-esp32-server
|
||
|
restart: always
|
||
|
security_opt:
|
||
|
- seccomp:unconfined
|
||
|
environment:
|
||
|
- TZ=Asia/Shanghai
|
||
|
ports:
|
||
|
# ws服务端
|
||
|
- "8000:8000"
|
||
|
volumes:
|
||
|
# 配置文件目录
|
||
|
- ./data:/opt/xiaozhi-esp32-server/data
|
||
|
# 模型文件挂接,很重要
|
||
|
- ./models/SenseVoiceSmall/model.pt:/opt/xiaozhi-esp32-server/models/SenseVoiceSmall/model.pt
|