把网络改成bridge试试
以下是docker-compose提供参考
services:
vocechat:
image: privoce/vocechat-server:latest
container_name: vocechat
restart: always #unless-stopped
ports:
- 3009:3000 #映射端口:容器端口
volumes:
- /vol1/1000/Docker/vocechat/data:/home/vocechat-server/data #NAS路径:容器路径
command:
- --network.frontend_url "http://192.168.XX.1XX:3009" #IP或者域名
network_mode: bridge
按论坛帖子来,也是困扰了一阵子,有用记得回帖