backend
This commit is contained in:
30
.env.example
Normal file
30
.env.example
Normal file
@@ -0,0 +1,30 @@
|
||||
# Choose which engine executes SPARQL:
|
||||
# - rdflib: parse TTL locally and query in-memory
|
||||
# - anzograph: query AnzoGraph over HTTP (optionally LOAD the TTL on startup)
|
||||
GRAPH_BACKEND=rdflib
|
||||
|
||||
# Backend (rdflib) file location inside the container.
|
||||
# The TTL file must exist within the mounted ./data folder if you keep the default volume mount.
|
||||
TTL_PATH=/data/o3po.ttl
|
||||
|
||||
# Backend behavior
|
||||
INCLUDE_BNODES=false
|
||||
# MAX_TRIPLES=1000000
|
||||
|
||||
# AnzoGraph / SPARQL endpoint settings (used when GRAPH_BACKEND=anzograph)
|
||||
SPARQL_HOST=http://anzograph:8080
|
||||
# SPARQL_ENDPOINT=http://anzograph:8080/sparql
|
||||
SPARQL_USER=admin
|
||||
SPARQL_PASS=Passw0rd1
|
||||
|
||||
# File URI as seen by the AnzoGraph container (used by SPARQL `LOAD`)
|
||||
SPARQL_DATA_FILE=file:///opt/shared-files/o3po.ttl
|
||||
# SPARQL_GRAPH_IRI=http://example.org/graph
|
||||
|
||||
# Startup behavior for AnzoGraph mode
|
||||
SPARQL_LOAD_ON_START=false
|
||||
SPARQL_CLEAR_ON_START=false
|
||||
|
||||
# Dev UX
|
||||
CORS_ORIGINS=http://localhost:5173
|
||||
VITE_BACKEND_URL=http://backend:8000
|
||||
Reference in New Issue
Block a user