Skip to content

Commit

Permalink
Make the local data directory configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
surchs committed Apr 5, 2024
1 parent af42e5f commit 83fae93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev/.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ NB_RETURN_AGG=true
NB_NAPI_TAG=latest
NB_GRAPH_IMG=ontotext/graphdb:10.3.1

LOCAL_GRAPH_DATA=./data

# ---- CONFIGURATION FOR n-API ----
## ADDITIONAL CONFIGURABLE PARAMETERS: Uncomment and modify values of the below variables as needed to use non-default values.
Expand Down
1 change: 1 addition & 0 deletions dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
volumes:
- "${NB_GRAPH_ROOT_HOST:-~/graphdb-home}:${NB_GRAPH_ROOT_CONT:-/opt/graphdb/home}"
- "${PWD}:/usr/src"
- "${LOCAL_GRAPH_DATA}:/data"
ports:
- "${NB_GRAPH_PORT_HOST:-7200}:${NB_GRAPH_PORT:-7200}"
entrypoint:
Expand Down

0 comments on commit 83fae93

Please sign in to comment.