From 41a410c10f09cde91c8a4d36ccb3d47a167a77ff Mon Sep 17 00:00:00 2001 From: Natalie Schultz <90212258+nataliejschultz@users.noreply.github.com> Date: Tue, 21 May 2024 12:43:59 -0600 Subject: [PATCH] Update docker_start_script.sh Removing DB_HOST if-else functionality, as it's not necessary for the container. --- .docker/docker_start_script.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.docker/docker_start_script.sh b/.docker/docker_start_script.sh index 0b3f38d7e..a7c8e06ea 100644 --- a/.docker/docker_start_script.sh +++ b/.docker/docker_start_script.sh @@ -1,15 +1,5 @@ #!/usr/bin/env bash -#Configure web server -# cd /usr/src/app/e-mission-server - -#set database URL using environment variable -echo ${DB_HOST} -if [ -z ${DB_HOST} ] ; then - local_host=`hostname -i` - export DB_HOST=$local_host - echo "Setting db host environment variable to localhost" -fi cat conf/storage/db.conf if [ -z ${LIVERELOAD_SRC} ] ; then