Skip to content

Commit

Permalink
Merge pull request #413 from rubyowo/patch-2
Browse files Browse the repository at this point in the history
fix: make the migrate service run after the db
  • Loading branch information
Dragory authored Jul 2, 2023
2 parents be40bba + 83ac507 commit 47886f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ services:
retries: 60

migrate:
depends_on:
mysql:
condition: service_healthy
build:
context: .
dockerfile: docker/production/backend/Dockerfile
Expand Down

0 comments on commit 47886f8

Please sign in to comment.