-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebUI工作不正常 #2
Comments
你更新一下真寻试试,好像在新版本修复了这个BUG(可能) |
并没有修好,我现在还加了自动更新代码。之前用原始方式部署的 docker 没这问题。
|
顺便,这是我的 docker-compose version: '3.3'
services:
zhenxun_bot:
restart: 'on-failure:3'
environment:
- bot_qq=***
- admin_qq=***
- api_key=***
- alapi_token=***
- webui_user=admin
- webui_passwd=admin
ports:
- '8081:8081'
- '54322:5432'
volumes:
- './my_plugins:/home/zhenxun_bot/my_plugins'
# - './files/config.yaml:/home/zhenxun_bot/configs/config.yaml'
- './resources/image/luoxiang:/home/zhenxun_bot/resources/image/luoxiang'
- './resources/image/noresult:/home/zhenxun_bot/resources/image/noresult'
- './resources/image/zai:/home/zhenxun_bot/resources/image/zai'
- './resources/image/temp:/home/zhenxun_bot/resources/image/temp'
- './resources/temp:/home/zhenxun_bot/resources/temp'
- './logs/gocq.log:/home/go-cqhttp/gocq.log'
# - './data:/var/lib/postgresql/12/main'
- './logs/webui.log:/home/zhenxun_bot_webui/webui.log'
container_name: zhenxun_bot
image: oickill/zhenxun_bot
#image: jyishit/zhenxun_bot |
这个问题暂时不打算在这个镜像上修了 |
我现在打算重构三个镜像然后用docker-compose部署试一下,一个postgresql的镜像,一个真寻本体,一个webui, |
这个问题我写新的镜像的时候会看一下 |
你说这个我用 Sakuracio 的镜像实现了,不过他的镜像我觉得写得并不好,bot 本体更新和维护非常麻烦。 version: '3'
services:
postgres:
container_name: postgresql
restart: always
environment:
- TZ=Asia/Shanghai
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_DB=db_zhenxun
- POSTGRES_USER=user
- POSTGRES_PASSWORD=zhenxun
ports:
- 54323:5432
volumes:
- './data:/var/lib/postgresql/data'
image: postgres-alpine
zhenxun_bot:
container_name: zhenxun_bot
restart: unless-stopped
depends_on:
- postgres
volumes:
- './bot:/bot'
environment:
- TZ=Asia/Shanghai
- SU=***
image: hibikier/zhenxun_bot:latest
network_mode: "host"
gocqhttp-docker:
container_name: gocq
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
volumes:
- './gocq:/data'
- './bot:/bot:ro'
image: pcrbot/gocqhttp:ffmpeg
network_mode: "host" |
我之前就是看了他的这个然后想在树莓派上搞不了,于是就自己写了个 |
新的v1.3镜像应该修复了此问题,可以试一下 |
好的,我试试。这两天我尝试自己写一个。写完后发现没法成功运行,部分变量没传到shell里。但应该可以给你一些新的启发 |
有人跟我说过为什么不把整个真寻文件夹映射出来,我想的是
|
overlay导致的问题已经修复,已经给上游提交PR了在等合并 |
数据库建议还是可以映射出来,我这群晖上 watchtower 一更新,实例里面的数据库清零了。因为实例上的临时文件问题,我volume1的空间也被撑爆,建议这些都提供可映射的方法。 |
任意插件设置会出如下错误,只有群组管理的权限能正常设置
The text was updated successfully, but these errors were encountered: