From 986b16b551f72b32f850163760c0f8ba14e2d888 Mon Sep 17 00:00:00 2001 From: Alyssa Dai Date: Thu, 18 Apr 2024 10:46:26 -0400 Subject: [PATCH] make mount points for graph container non-overlapping --- dev/docker-compose.yml | 2 +- dev/setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index a5a7e51..536f50d 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -29,7 +29,7 @@ services: volumes: - "${NB_GRAPH_ROOT_HOST:-~/graphdb-home}:${NB_GRAPH_ROOT_CONT:-/opt/graphdb/home}" - "${PWD}:/usr/src" - - "${LOCAL_GRAPH_DATA:-./data}:/usr/src/data" + - "${LOCAL_GRAPH_DATA:-./data}:/data" ports: - "${NB_GRAPH_PORT_HOST:-7200}:${NB_GRAPH_PORT:-7200}" env_file: .env diff --git a/dev/setup.sh b/dev/setup.sh index e6f775c..061a91c 100755 --- a/dev/setup.sh +++ b/dev/setup.sh @@ -21,7 +21,7 @@ main() { echo "Finished server setup." echo "Adding datasets to the database..." - ./add_data_to_graph.sh ./data localhost:${NB_GRAPH_PORT} ${NB_GRAPH_DB} "${NB_GRAPH_USERNAME}" "${NB_GRAPH_PASSWORD}" + ./add_data_to_graph.sh /data localhost:${NB_GRAPH_PORT} ${NB_GRAPH_DB} "${NB_GRAPH_USERNAME}" "${NB_GRAPH_PASSWORD}" echo "Finished adding datasets to databases." echo "Adding Neurobagel vocabulary to the database"