Skip to main content

Configuration

Atlas is configured through environment variables (see .env.example) and per-tenant settings managed in the Console's Studio. This page groups the environment surface by concern; the full list is in Reference → Environment variables.

Static configuration (environment)

GroupRepresentative variables
APIAPI_PORT, API_BIND_HOST, API_HOST, API_DEBUG
FrontendUI_PORT
PostgreSQLPOSTGRES_HOST/PORT/DB/USER/PASSWORD
RedisREDIS_HOST/PORT/PASSWORD
LLMOPENROUTER_BASE_URL, OPENROUTER_MODEL_PRIMARY/FAST/REASONING, LLM_TEMPERATURE/TIMEOUT/MAX_RETRIES
ToolsMCP_BEARER_TOKEN, DIGITAL_FOOTPRINT_ENDPOINT
AuthKEYCLOAK_URL/PUBLIC_URL/HOSTNAME/PORT/REALM/CLIENT_ID, KEYCLOAK_ADMIN_*, AUTH_ENABLED, AUTH_*_GROUPS, AUTH_ADMIN_PATH_PREFIXES, AUTH_EXEMPT_PATHS
AgentsAGENT_MAX_ITERATIONS, AGENT_RETRY_ON_FAIL, AGENT_MAX_RETRIES, AGENT_RETRY_WAIT_MS, MAX_CONCURRENT_INVESTIGATIONS, INVESTIGATION_TIMEOUT
LimitsRATE_LIMIT_REQUESTS_PER_MINUTE, RATE_LIMIT_DEFAULT/WRITE/EXPENSIVE/STATUS, CACHE_TTL_SECONDS
StorageATLAS_MINIO_ACCESS_KEY/SECRET_KEY/ENDPOINT/EXTERNAL_URL
ObservabilityLANGFUSE_*, SENTRY_DSN, LOG_LEVEL, LOG_FORMAT
NotificationsSLACK_WEBHOOK_URL, SMTP_*, NOTIFICATION_EMAIL
RetentionREPORT_RETENTION_DAYS
CORSCORS_ALLOWED_ORIGINS
Secrets

Never commit a populated .env. In production these are injected as Kubernetes secrets / Helm values. The credential-encryption key that protects per-tenant provider credentials is itself an environment secret — rotate it through the documented key-rotation procedure.

Dynamic configuration (per tenant)

Some configuration is intentionally not static because it differs per tenant and changes at runtime through the Console:

SettingWhereNotes
Provider & LLM credentialsStudio → Data Providers / SettingsStored AES-GCM encrypted, see Security
Active ontology schemaStudio → OntologyOne active version per tenant; drift-checked
Risk matrices & categoriesStudio → Risk Matrices / CategoriesSee Risk scoring
Data segmentsSettings → SegmentsCompliance workstream segmentation
MCP servers, crew/LLM config, promptsSettingsPer-tenant tool & model routing

Authentication toggles

AUTH_ENABLED gates the whole auth layer, and the AUTH_*_GROUPS / AUTH_ADMIN_PATH_PREFIXES / AUTH_EXEMPT_PATHS variables map Keycloak groups to roles and declare which paths are admin-only or exempt. Keep AUTH_ENABLED=true in any shared or production environment. See Authentication.

Precedence

Per-tenant settings override environment defaults for tenant-scoped behaviour (credentials, schema, matrices); infrastructure settings (ports, hosts, secrets) come only from the environment.