From a2215a093ab15cedff70c9ebc9abb06a2186bdc8 Mon Sep 17 00:00:00 2001 From: Viral Parmar Date: Wed, 27 Sep 2023 10:46:46 +0530 Subject: [PATCH] Add DB environment variable to start bash script --- start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start.sh b/start.sh index 3a07a3c..c7bce1f 100755 --- a/start.sh +++ b/start.sh @@ -3,6 +3,7 @@ set -e echo "run db migration" +source /app/app.env /app/migrate -path /app/migration -database "$DB_SOURCE" -verbose up echo "start the app"