Skip to content

[openwrt][docker]上部署blivechat后,一直断开重连 #240

Answered by Shigokoro
Shigokoro asked this question in 提问
Discussion options

You must be logged in to vote

容器改为host,解决了问题

docker volume create blivechat-data
cp -rf /mnt/sda1/#NAS/#config/blivechat/_data /opt/docker/volumes/blivechat-data/
docker run -d \
  --name blivechat \
  --mount source=blivechat-data,target=/mnt/data \
  -e TZ=Asia/Shanghai \
  --network=host \
  --restart unless-stopped \
  xfgryujk/blivechat:latest

软连接不行,重启就失效了,,暂且复制吧

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Shigokoro
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
提问
Labels
None yet
2 participants