Skip to content

Commit

Permalink
Update docker_start_script.sh
Browse files Browse the repository at this point in the history
Removing DB_HOST if-else functionality, as it's not necessary for the container.
  • Loading branch information
nataliejschultz authored May 21, 2024
1 parent 53015c7 commit 41a410c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .docker/docker_start_script.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 41a410c

Please sign in to comment.