diff --git a/distillery/resources/compose/barrel/scripts/provision_container.sh b/distillery/resources/compose/barrel/scripts/provision_container.sh index 3a69f48..3e25bc7 100644 --- a/distillery/resources/compose/barrel/scripts/provision_container.sh +++ b/distillery/resources/compose/barrel/scripts/provision_container.sh @@ -32,6 +32,8 @@ GRAPHDB_PASSWORD="$3" echo "GRAPHDB_PASSWORD=$GRAPHDB_PASSWORD" shift 3 +GRAPHDB_HEADER="$(echo "$GRAPHDB_USER:$GRAPHDB_PASSWORD" | base64)" + DRUPAL_USER="$1" echo "DRUPAL_USER=$DRUPAL_USER" DRUPAL_PASS="$2" @@ -123,6 +125,7 @@ function printdetails() { echo "Write URL: http://triplestore:7200/repositories/$GRAPHDB_REPO/statements" echo "Username: $GRAPHDB_USER" echo "Password: $GRAPHDB_PASSWORD" + echo "Authorization Header: $GRAPHDB_HEADER" echo "Writable: yes" echo "Default Graph URI: http://$INSTANCE_DOMAIN/#" echo "Ontology Paths: (empty)" diff --git a/distillery/resources/compose/barrel/scripts/user_shell.sh b/distillery/resources/compose/barrel/scripts/user_shell.sh index 8ebf53d..df94abb 100755 --- a/distillery/resources/compose/barrel/scripts/user_shell.sh +++ b/distillery/resources/compose/barrel/scripts/user_shell.sh @@ -2,4 +2,4 @@ # This script is used to start a user shell inside the docker container. cd "/var/www/data/project" -sudo -u www-data /bin/bash "$@" \ No newline at end of file +sudo -u www-data "PATH=/var/www/data/project/vendor/bin:$PATH" /bin/bash "$@" \ No newline at end of file