From 9f4b7187b90a6cdd030d3cacfe724e1f838cfd08 Mon Sep 17 00:00:00 2001 From: anthorob Date: Sun, 14 Jul 2024 00:58:59 -0400 Subject: [PATCH] build: fix startup script for local execution --- startup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup.sh b/startup.sh index b8b0a25..7af7a26 100644 --- a/startup.sh +++ b/startup.sh @@ -29,11 +29,11 @@ if [ -z $API_PORT ]; then fi if [ -z $MYSQL_HOST ]; then - MYSQL_HOST="localhost" + MYSQL_HOST="$(prop 'MYSQL_HOST')" fi if [ -z $MYSQL_PORT ]; then - MYSQL_PORT=3306 + MYSQL_PORT=$(prop 'MYSQL_PORT') fi echo "Waiting 10 seconds for database to start.."