diff --git a/docker-compose.yml b/docker-compose.yml index 4fdb415..89ec848 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,9 @@ services: image: "hyperf/biz-skeleton:latest" build: context: "." + depends_on: + - mysql + - redis environment: APP_ENV: "${APP_ENV:-prod}" DB_HOST: "mysql"