Merge pull request 'hotfix' (#23) from hotfix into main

Reviewed-on: #23
This commit is contained in:
李寻欢 2024-02-26 15:27:05 +08:00
commit bb2c4e919e

View File

@ -48,7 +48,7 @@ version: '3.9'
services:
wechat:
image: lxh01/wxhelper-docker:3.9.5.81-v11
image: lxh01/wxhelper-docker:3.9.5.81-v11-novnc
container_name: gw-wechat
restart: unless-stopped
environment:
@ -56,8 +56,9 @@ services:
volumes:
- ./data/wechat:/home/app/.wine/drive_c/users/app/Documents/WeChat\ Files
ports:
- "19087:8080"
- "19088:19088"
- "19086:5900" # vnc端口
- "19087:8080" # noVNC端口
- "19088:19088" # 微信HOOK端口
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:19088/api/checkLogin"]
interval: 60s
@ -100,4 +101,8 @@ services:
# 以下命令选个能用的就行
docker-compose up -d # 老版本
docker compose up -d # 新版本
```
```
## 注意事项
1. 宿主机必须是`debian`系,因为`wine`的玄学`BUG`,其他系统可能会出现各种问题
2. 登录微信可以用`vnc viewer`连接`5900`端口或者访问`noVNC`端口的`vnc_lite.html`页面进行扫码登录