Skip to content

Configuration

All Orvanta components are configured via environment variables. The reference below lists the variables for each component.

VariableRequiredDefaultDescription
DATABASE_URLPostgreSQL connection string (datastore + job queue). postgres://user:pass@host:5432/orvanta
SECRET_KEYRandom 64-char hex string. Used for signing tokens. Generate with openssl rand -hex 32.
APP_URLPublic URL of your Orvanta instance. e.g. https://orvanta.example.com
S3_*Optional S3-compatible storage for large job results/artefacts (S3_BUCKET, S3_REGION, S3_ENDPOINT, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY).
LOG_LEVELinfodebug, info, warn, error.
PORT8000Port the API server listens on.
VariableRequiredDefaultDescription
DATABASE_URLSame as API server.
S3_*Same as API server (optional).
WORKER_CONCURRENCY4Number of concurrent job slots per worker process.
WORKER_QUEUEdefaultQueue name this worker listens on.
version: '3.9'
services:
api:
image: ghcr.io/orvanta-cloud/orvanta-api:latest
env_file: .env
ports:
- "8000:8000"
depends_on:
- postgres
worker:
image: ghcr.io/orvanta-cloud/orvanta-worker:latest
env_file: .env
depends_on:
- postgres
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: orvanta
POSTGRES_USER: orvanta
POSTGRES_PASSWORD: changeme
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data:

Orvanta does not handle TLS termination directly. Use a reverse proxy such as Caddy, nginx, or Traefik in front of the API server. All traffic to APP_URL should be HTTPS.