AGPL-3.0 · Innsbruck Beta v0.4 · Docs →
Vol. 1 · Issue 02
Velo/Stack
October 2026 · Innsbruck
Documentation Admin Docs Configuration
Contents Switch area → User Docs

Admin Docs

All pages →

Configuration

The most important environment variables and secrets.

Configuration lives in .env or as environment variables. Secrets never belong in the repository. In production, APP_BASE_URL and OAUTH_ISSUER must be set explicitly.

Key variables

VariableMeaning
DATABASE_URLSQLite (dev) or PostgreSQL (prod)
APP_BASE_URLCanonical public URL
OAUTH_ISSUERIssuer for OAuth metadata
ENCRYPTION_KEYFernet key for credentials at rest
ANTHROPIC_API_KEYAI grouping (optional)
VC_SELLERS_IDOwn VeloConnect seller ID
VC_SELLER_NAMEDisplay name in the profile
MCP_ALLOWED_HOSTSHost allowlist for MCP
DISPATCH_AUDIT_HMAC_KEYStable key for dispatch audit

Secrets

ENCRYPTION_KEY encrypts reversible credential columns. If lost, stored secrets are irrecoverable. The HMAC key for dispatch audits must remain stable, otherwise old signatures can no longer be verified.

Database

Schema migrations run via Alembic (alembic upgrade head). SQLite is for development, PostgreSQL 15 for production. Create a backup before every upgrade.

Auth

OIDC runs per tenant via the tenant IdP (Keycloak, PKCE, back-channel logout). MCP uses its own OAuth 2.1 authorization server with discovery, dynamic client registration, PKCE, refresh rotation and revocation.

Updated: October 2026