1
0
forked from lxh/go-wxhelper

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

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