Skip to main content

Configuration

The authoritative configuration is backend/src/main/resources/application.yml. Every value can be overridden at runtime with environment variables using Spring Boot's standard mapping (dots → underscores, uppercase). The compose file sets DATABASE_DATABASETYPE, DATABASE_DEFAULTDATASET, and DATABASE_HTTP_ENDPOINT this way.

Commonly adjusted settings

PurposePropertyDefault
Snapshot store endpointdatabase.http.endpointhttp://localhost:3030
Default dataset namedatabase.defaultDatasetdefault
Frontend URL (CORS allow-list)frontend.urlhttp://localhost:1407
API base pathfrontend.accessRoute/api
Max uploaded schema sizespring.servlet.multipart.max-file-size50MB
History depth per graphgraph.maxVersions256
Diagram rendererrendering.renderersvelteflow (or mermaid)
Session cookie nameserver.servlet.session.cookie.nameRDFA_SESSION_ID
Session cookie secure flagserver.servlet.session.cookie.securefalse (set to true in production)

Frontend runtime config

The frontend is a static SPA with one runtime variable, rewritten at container start by frontend/docker-entrypoint.sh:

VariableDefault (Docker)Description
PUBLIC_BACKEND_URL/apiWhere the frontend expects to find the backend.