Skip to content

Commit

Permalink
Added depends_on in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Apr 21, 2022
1 parent 0297d32 commit 6c385b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6c385b6

Please sign in to comment.