mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
chore: 添加 docker-compose 配置
This commit is contained in:
parent
60638f4e19
commit
900fe28eba
2 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ services:
|
|||
ports:
|
||||
# ws服务端
|
||||
- "8000:8000"
|
||||
# 使用 dlna_play_music 插件需要开启 host 网络模式,才可以搜索到局域网设备
|
||||
# network_mode: host
|
||||
volumes:
|
||||
# 配置文件目录
|
||||
- ./data:/opt/xiaozhi-esp32-server/data
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ services:
|
|||
ports:
|
||||
# ws服务端
|
||||
- "8000:8000"
|
||||
# 使用 dlna_play_music 插件需要开启 host 网络模式,才可以搜索到局域网设备
|
||||
# network_mode: host
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Reference in a new issue