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