From f2a75c423146822ae7cd6f31d1c4c46d8f716985 Mon Sep 17 00:00:00 2001 From: hanshino Date: Mon, 16 Dec 2024 16:53:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E5=95=9F=E5=8B=95=E9=81=8E?= =?UTF-8?q?=E7=A8=8B=E4=B8=AD=E6=96=B0=E5=A2=9E=E7=AD=89=E5=BE=85=20MySQL?= =?UTF-8?q?=20=E5=95=9F=E5=8B=95=E7=9A=84=E5=BB=B6=E9=81=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/traefik-run/001_run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/traefik-run/001_run.sh b/scripts/traefik-run/001_run.sh index 2bd43f6..46a0f72 100644 --- a/scripts/traefik-run/001_run.sh +++ b/scripts/traefik-run/001_run.sh @@ -4,4 +4,6 @@ "${COMPOSE_CMD[@]}" -f docker-compose.traefik.yml build "${COMPOSE_CMD[@]}" -f docker-compose.traefik.yml up -d "${COMPOSE_CMD[@]}" -f docker-compose.traefik.yml restart bot +# Wait for the MySQL to start +sleep 10 "${COMPOSE_CMD[@]}" -f docker-compose.traefik.yml exec -T bot yarn migrate