Skip to main content

Configuration

Graphora is configured through environment variables. Copy .env.example to .env and set the values for your environment.

Minimal Configuration

For local development with zero dependencies, you only need three variables:
Everything else has sensible defaults.

Storage

Neo4j (Production)

When STORAGE_TYPE=neo4j, configure the Neo4j connection through the Graphora UI Config page or via Supabase database_configs entries. The API supports staging and production database environments.

In-Memory (Development)

When STORAGE_TYPE=memory, all graph data is stored in the running process. No database setup is required. Data is lost when the server stops.

LLM Providers

Configure at least one LLM provider for AI-powered extraction.

Authentication


API Server


Redis

Redis is used for progress tracking during document transformations. It is optional — when unavailable, the API falls back to an in-memory store automatically.
When Redis is unavailable, the progress tracker logs a warning and uses in-memory storage. This is expected behavior for local development without Docker.

Prefect (Workflow Orchestration)


Database (Postgres)

Postgres stores application configuration, audit logs, and AI provider settings.

Document Processing


Quality Validation


Entity Resolution


Security


File Paths


Example Configurations

Local Development (Minimal)

Local Development (Full Stack)

Production