Skip to content

Commit

Permalink
Merge pull request #8 from MukuFlash03/image-push
Browse files Browse the repository at this point in the history
Removed sed / jq usage from start scripts
  • Loading branch information
MukuFlash03 authored Apr 12, 2024
2 parents 43f3d5a + 89ed59a commit 37c7599
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions viz_scripts/docker/start_notebook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
echo "DB host = "${DB_HOST}
if [ -z ${DB_HOST} ] ; then
local_host=`hostname -i`
jq --arg db_host "$local_host" '.timeseries.url = $db_host' conf/storage/db.conf.sample > conf/storage/db.conf
else
jq --arg db_host "$DB_HOST" '.timeseries.url = $db_host' conf/storage/db.conf.sample > conf/storage/db.conf
export DB_HOST=$local_host
echo "Setting db host environment variable to localhost"
fi

### configure the saved-notebooks directory for persistent notebooks
Expand Down

0 comments on commit 37c7599

Please sign in to comment.