🎨 脚本优化

This commit is contained in:
李寻欢 2024-04-09 14:42:47 +08:00
parent d21089ab69
commit 43f9d590b7

View File

@ -23,9 +23,6 @@ services:
image: mysql:8 image: mysql:8
container_name: gw-db container_name: gw-db
restart: unless-stopped restart: unless-stopped
depends_on:
wechat:
condition: service_healthy
environment: environment:
- MYSQL_ROOT_PASSWORD=wechat - MYSQL_ROOT_PASSWORD=wechat
- MYSQL_USER=wechat - MYSQL_USER=wechat
@ -41,6 +38,7 @@ services:
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- mysql - mysql
- wechat
volumes: volumes:
# 配置文件请参阅项目根目录的config.yaml文件 # 配置文件请参阅项目根目录的config.yaml文件
- ./config/config.yaml:/app/config.yaml - ./config/config.yaml:/app/config.yaml