From 83ac507ebd0549b7aafbf9cf6143a33783d5ac86 Mon Sep 17 00:00:00 2001 From: Ruby Star Date: Sun, 2 Jul 2023 16:40:18 +0400 Subject: [PATCH] fix: make the migrate service run after the db --- docker-compose.production.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.production.yml b/docker-compose.production.yml index b1c36b3c..672b9044 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -32,6 +32,9 @@ services: retries: 60 migrate: + depends_on: + mysql: + condition: service_healthy build: context: . dockerfile: docker/production/backend/Dockerfile