aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gn3/settings.py b/gn3/settings.py
index 22bdc98..9fec2fb 100644
--- a/gn3/settings.py
+++ b/gn3/settings.py
@@ -14,7 +14,10 @@ TMPDIR = os.environ.get("TMPDIR", tempfile.gettempdir())
RQTL_WRAPPER = "rqtl_wrapper.R"
# SPARQL endpoint
-SPARQL_ENDPOINT = "http://localhost:8891/sparql"
+SPARQL_ENDPOINT = os.environment.get(
+ "SPARQL_ENDPOINT",
+ "http://localhost:9082/sparql")
+
# LMDB path
LMDB_PATH = os.environ.get(
"LMDB_PATH", f"{os.environ.get('HOME')}/tmp/dataset")