📝 文档完善

This commit is contained in:
李寻欢 2023-10-31 15:12:15 +08:00
parent 51078eba12
commit ead2e06c4c
2 changed files with 10 additions and 5 deletions

View File

@ -1,10 +1,12 @@
version: '3' version: '3.9'
services: services:
wechat: wechat:
image: lxh01/wxhelper-docker:3.9.5.81 image: lxh01/wxhelper-docker:3.9.5.81
container_name: gw-wechat container_name: gw-wechat
restart: unless-stopped restart: unless-stopped
environment:
- WINEDEBUG=fixme-all
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:
@ -22,7 +24,8 @@ services:
container_name: gw-db container_name: gw-db
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- wechat wechat:
condition: service_healthy
environment: environment:
- MYSQL_ROOT_PASSWORD=wechat - MYSQL_ROOT_PASSWORD=wechat
- MYSQL_USER=wechat - MYSQL_USER=wechat
@ -43,4 +46,3 @@ services:
- ./config/config.yaml:/app/config.yaml - ./config/config.yaml:/app/config.yaml
ports: ports:
- "19099:19099" - "19099:19099"

View File

@ -45,13 +45,15 @@ task:
2. 创建`docker-compose.yaml`文件 2. 创建`docker-compose.yaml`文件
```yaml ```yaml
version: '3' version: '3.9'
services: services:
wechat: wechat:
image: lxh01/wxhelper-docker:3.9.5.81 image: lxh01/wxhelper-docker:3.9.5.81
container_name: gw-wechat container_name: gw-wechat
restart: unless-stopped restart: unless-stopped
environment:
- WINEDEBUG=fixme-all
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:
@ -69,7 +71,8 @@ services:
container_name: gw-db container_name: gw-db
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- wechat wechat:
condition: service_healthy
environment: environment:
- MYSQL_ROOT_PASSWORD=wechat - MYSQL_ROOT_PASSWORD=wechat
- MYSQL_USER=wechat - MYSQL_USER=wechat