-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Increase configurability of API/graph server parameters (#146)
* Make graph + API server parameters configurable as env vars - host + container ports - graph server Docker image - graph root paths on host + container - full graph database query endpoint * update table of env vars in README * update README instructions for using .env * increase timeout for query to 30s * expand notes about default env var values in README * add note to Dockerfile about env var for API port * add template .env --------- Co-authored-by: Sebastian Urchs <[email protected]>
- Loading branch information
Showing
6 changed files
with
93 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# THIS IS A TEMPLATE .env FILE. MAKE A COPY OF THIS FILE NAMED .env AND MODIFY VALUES AS NEEDED. | ||
NB_GRAPH_USERNAME=DBUSER # REPLACE DBUSER WITH YOUR GRAPH DATABASE USERNAME | ||
NB_GRAPH_PASSWORD=DBPASSWORD # REPLACE DBPASSWORD WITH YOUR GRAPH DATABASE PASSWORD | ||
NB_GRAPH_DB=test_data/query | ||
NB_RETURN_AGG=true | ||
NB_API_TAG=latest | ||
NB_GRAPH_IMG=stardog/stardog:8.2.2-java11-preview | ||
## ADDITIONAL CONFIGURABLE PARAMETERS: Uncomment and modify values of the below variables as needed to use non-default values. | ||
# NB_API_PORT_HOST=8000 | ||
# NB_API_PORT=8000 | ||
# NB_API_ROOT_HOST=~/stardog-home | ||
# NB_GRAPH_ROOT_CONT=/var/opt/stardog | ||
# NB_GRAPH_ADDRESS=graph | ||
# NB_GRAPH_PORT_HOST=5820 | ||
# NB_GRAPH_PORT=5820 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters