chore: 添加 docker-compose 配置

This commit is contained in:
zhengzhu-1m 2025-04-20 19:37:39 +08:00
parent 60638f4e19
commit 900fe28eba
2 changed files with 4 additions and 0 deletions

View file

@ -13,6 +13,8 @@ services:
ports: ports:
# ws服务端 # ws服务端
- "8000:8000" - "8000:8000"
# 使用 dlna_play_music 插件需要开启 host 网络模式,才可以搜索到局域网设备
# network_mode: host
volumes: volumes:
# 配置文件目录 # 配置文件目录
- ./data:/opt/xiaozhi-esp32-server/data - ./data:/opt/xiaozhi-esp32-server/data

View file

@ -15,6 +15,8 @@ services:
ports: ports:
# ws服务端 # ws服务端
- "8000:8000" - "8000:8000"
# 使用 dlna_play_music 插件需要开启 host 网络模式,才可以搜索到局域网设备
# network_mode: host
security_opt: security_opt:
- seccomp:unconfined - seccomp:unconfined
environment: environment: