Onyx Lite
Onyx Lite is a minimal deployment of Onyx designed for teams that only need the core LLM chat experience without connectors or RAG search. It is ideal for resource-constrained environments, quick evaluations, or use cases where you want to bring your own LLM and tools without ingesting external data sources.What’s Included
Onyx Lite retains the following capabilities:- LLM chat conversations
- Tools (including code interpreter when its service is enabled)
- User file uploads
- Projects
- Agent knowledge
- Agents (without RAG retrieval)
What’s Removed
Onyx Lite disables or does not use:- Vector indexing and RAG search:
DISABLE_VECTOR_DB=trueprevents use of OpenSearch, even if it is running - Redis: PostgreSQL handles caching and session management instead
- Indexing model server: no document embeddings; Docker Compose Lite also skips the inference model server
- Background workers: the API server handles background work directly
- Object store / S3 file storage: PostgreSQL handles file storage instead, even if the object store is running
- Connectors: all data source connectors are disabled
How It Works
Onyx Lite is not a separate application. It uses the same Onyx images with a configuration that stores files, cache data, and sessions in PostgreSQL and disables vector database access. The key environment variables that drive this are:ENABLE_CRAFT).Configuring Docker Deployments
Configuring Docker Deployments
.env file:.env files.Some configuration options must be set in your Docker Compose file.docker-compose.dev.yml or docker-compose.prod.yml.Deploying Onyx Lite with Docker Compose
Onyx Lite is deployed using a Docker Compose override file that layers on top of your base Compose file. The override moves unused services into Docker Compose profiles so they do not start by default.Quick start:Configuring Kubernetes Deployments
Configuring Kubernetes Deployments
values.yaml file where you can set all environment variables.configMap and auth.secrets sections.
A subset of common configuration options are provided for you. You can add more environment variables (listed below)
to these sections.To use external model servers, set MODEL_SERVER_HOST and INDEXING_MODEL_SERVER_HOST in configMap.
The chart then skips its own defaults for those values (chart 0.8.10 or later).Deploying Onyx Lite with Helm
The values-lite.yaml file disables vector database access, Redis, Celery workers, and the indexing model server. Unlike the Docker Compose overlay, it does not disable OpenSearch, the object store, the inference model server, or the Slack bot. These workloads still start with the chart defaults. The code interpreter also remains enabled.For a minimal install that omits those unused workloads, add explicit overrides:Commonly Configured Options
Authentication
Basic Authentication
Google OAuth
OIDC
SAML
Custom Domain
To host Onyx on a custom domain, set theWEB_DOMAIN environment variable and update your DNS records to point to your public Onyx deployment IP.
For additional instructions, read the EC2 Deployment Guide!
SSL
If using Docker, theinit-letsencrypt.sh script in onyx/deployment/docker_compose will automatically generate a Let’s Encrypt
certificate and launch Onyx with SSL enabled.
Web Search
To enable the Web Search Tool, set theEXA_API_KEY environment variable.
Logging
If using Docker, setLOG_LEVEL to debug in each container of your Docker Compose file.
If using Kubernetes, set LOG_LEVEL to debug in your values.yaml file.
Observability
We support the following observability providers: Braintrust (recommended) Braintrust is what we use internally for the cloud version of Onyx. Set the following environment variables:GET /metrics. The endpoint requires a bearer token:
METRICS_AUTH_TOKEN is unset, the endpoint rejects every request.
Set DISABLE_METRICS_AUTH=true only on networks where the API server is not reachable from outside.
Craft
Craft is enabled withENABLE_CRAFT=true and requires a supported sandbox backend.
Use SANDBOX_BACKEND=docker for Docker Compose deployments and SANDBOX_BACKEND=kubernetes for Helm deployments.
Read Deploying Craft before enabling Craft in self-hosted deployments.
Onyx Environment Variables
App Configuration
App Configuration
SKIP_WARM_UP: Skip application warm-up process for hot-reloading the API server.
Only set this for development purposes.WEB_DOMAIN: Set this if you are deploying Onyx on a custom domain.DISABLE_USER_KNOWLEDGE: Controls whether users can use the My Documents feature with Agents.ONYX_QUERY_HISTORY_TYPE: Controls query history reports (show user emails, anonymous, no queries)ONYX_AIRGAPPED: Set to true on deployments with no internet access.
Onyx then skips the outbound fetches for the recommended-model catalog, the model price table,
and release notes from GitHub.Craft Configuration
Craft Configuration
ENABLE_CRAFT: Enables Craft APIs and UI. Defaults to false.SANDBOX_BACKEND: Craft sandbox backend. Valid values are docker and kubernetes. Defaults to kubernetes.ONYX_SERVER_URL: Full Onyx API base URL reachable from inside Craft sandboxes,
including any /api path prefix (for example https://onyx.example.com/api).
Docker Compose defaults it to http://onyx-craft-api:8080 and Helm defaults it to the chart’s internal API Service.
Set it only when sandboxes must reach Onyx through a public URL.SANDBOX_IDLE_TIMEOUT_SECONDS: Idle timeout before sandbox sleep or cleanup. Defaults to 3600.BUILD_MAX_UPLOAD_FILE_SIZE_MB: Maximum Craft session attachment size. Defaults to 50.BUILD_MAX_UPLOAD_FILES_PER_SESSION: Maximum number of files attached to one Craft session. Defaults to 20.BUILD_MAX_TOTAL_UPLOAD_SIZE_MB: Maximum total attachment size for one Craft session. Defaults to 200.USER_LIBRARY_MAX_FILE_SIZE_MB: Maximum User Library file size. Defaults to 500.USER_LIBRARY_MAX_FILES_PER_UPLOAD: Maximum files in one User Library upload. Defaults to 100.USER_LIBRARY_MAX_TOTAL_SIZE_GB: Maximum User Library storage per user. Defaults to 10.Docker backend variables:SANDBOX_DOCKER_MEMORY_LIMIT: Per-sandbox Docker memory limit. Defaults to2g.SANDBOX_DOCKER_CPU_LIMIT: Per-sandbox Docker CPU limit. Defaults to1.0.
onyx_craft_sandbox bridge network created by the installer and referenced by the
Craft compose overlay.Authentication & Security
Authentication & Security
AUTH_TYPE: Legacy (pre-v4.4.0). Authentication is always enabled and SSO is configured in the admin panel,
so the variable is inert. Planned for full removal in v4.5.PASSWORD_MIN_LENGTH: For basic auth. The minimum password length requirementPASSWORD_MAX_LENGTH: For basic auth. The maximum password length requirementPASSWORD_REQUIRE_UPPERCASE: For basic auth. Require uppercase letters in passwordsPASSWORD_REQUIRE_LOWERCASE: For basic auth. Require lowercase letters in passwordsPASSWORD_REQUIRE_DIGIT: For basic auth. Require digits in passwordsPASSWORD_REQUIRE_SPECIAL_CHAR: For basic auth. Require special characters in passwordsENCRYPTION_KEY_SECRET: Key that Onyx uses to AES-encrypt connector credentials, API keys,
and other secrets at rest. Encryption is on whenever the key is set. Keep it stable:
changing it makes stored credentials unreadable.MASK_CREDENTIAL_PREFIX: Mask connector credentials in the admin UI.
Turn off if admins should see the credentials in the admin panel.SESSION_EXPIRE_TIME_SECONDS: Session expiration time in seconds.AUTH_COOKIE_EXPIRE_TIME_SECONDS: JWT token validity duration in seconds.VALID_EMAIL_DOMAINS: Comma-separated list of allowed email domains.REQUIRE_EMAIL_VERIFICATION: Require email verification for registrationTRACK_EXTERNAL_IDP_EXPIRY: Honor the expires_at field returned by the external identity provider.
Disabled be default because many auth providers have very short expiry times.JWT_PUBLIC_KEY_URL: JWKS or PEM endpoint for verifying API bearer JWTs.
See JWT Header Auth.JWT_EXPECTED_AUDIENCE: Reject bearer JWTs whose aud claim does not match. Empty disables the check.JWT_EXPECTED_ISSUER: Reject bearer JWTs whose iss claim does not match. Empty disables the check.OAuth & OIDC Configuration
OAuth & OIDC Configuration
OAUTH_CLIENT_ID: For both Google OAuth and OIDC.OAUTH_CLIENT_SECRET: For both Google OAuth and OIDC.OPENID_CONFIG_URL: For OIDC.GOOGLE_OAUTH_SCOPE_OVERRIDE: For Google login.
Comma-separated list of scopes to request from Google instead of the defaults (openid,email,profile).
Useful when the access token from login needs to be passed through to tool calls that require additional Google API
scopes (i.e. when using Pass-Through OAuth for an MCP server).
Any scopes added here must also be enabled on the OAuth client in Google Cloud Console.OIDC_SCOPE_OVERRIDE: For OIDC login.
Comma-separated list of scopes to request from the OIDC provider instead of the defaults.
Same use case as GOOGLE_OAUTH_SCOPE_OVERRIDE.OIDC_PKCE_ENABLED: For OIDC login. Set to true to enable PKCE in the OIDC login flow.
Disabled by default for backwards compatibility.JWT Header Auth
JWT Header Auth
JWT_PUBLIC_KEY_URL: URL that serves the public key material (JWKS or PEM) for an external token issuer. When set,
Onyx accepts an RS256 JWT in the Authorization: Bearer header and resolves the user from the token’s email claim.
See JWT Header Auth for the full behavior.Email Configuration
Email Configuration
SMTP_SERVER: SMTP server hostnameSMTP_PORT: SMTP server portSMTP_USER: SMTP usernameSMTP_PASS: SMTP passwordEMAIL_FROM: From email addressSENDGRID_API_KEY: Alternative to SMTP for email delivery.ENABLE_EMAIL_INVITES: Enable email invitationsSlack Configuration
Slack Configuration
OAUTH_SLACK_CLIENT_ID: Slack OAuth client ID for Slack bot.OAUTH_SLACK_CLIENT_SECRET: Slack OAuth client secret for Slack bot.Postgres Configuration
Postgres Configuration
POSTGRES_USER: PostgreSQL usernamePOSTGRES_PASSWORD: PostgreSQL passwordPOSTGRES_HOST: PostgreSQL hostPOSTGRES_PORT: PostgreSQL portPOSTGRES_DB: PostgreSQL database namePOSTGRES_API_SERVER_POOL_SIZE: API server connection pool sizePOSTGRES_API_SERVER_POOL_OVERFLOW: API server pool overflowPOSTGRES_API_SERVER_READ_ONLY_POOL_SIZE: Read-only pool sizePOSTGRES_API_SERVER_READ_ONLY_POOL_OVERFLOW: Read-only pool overflowPOSTGRES_USE_NULL_POOL: Use null connection poolPOSTGRES_POOL_PRE_PING: Enable connection pre-pingPOSTGRES_POOL_RECYCLE: Pool recycle timeout in secondsUSE_IAM_AUTH: Use IAM authentication for databaseDB_READONLY_USER: Read-only database userDB_READONLY_PASSWORD: Read-only database passwordPOSTGRES_SSLMODE: libpq SSL mode (disable, allow, prefer, require, verify-ca, verify-full).
Ignored when USE_IAM_AUTH is set.POSTGRES_SSLROOTCERT: Path to the CA certificate used to verify the server (verify-ca / verify-full).POSTGRES_SSLCERT: Path to the client certificate for mutual TLSPOSTGRES_SSLKEY: Path to the client private key for mutual TLSPOSTGRES_SSLKEY_PASSWORD: Passphrase for POSTGRES_SSLKEY, if encryptedIn Helm, set postgresTls.enabled: true with postgresTls.caSecretName or postgresTls.caConfigMapName to mount a CA certificate and configure these
settings on every backend workload.Redis Configuration
Redis Configuration
REDIS_SSL: Enable SSL for Redis connectionsREDIS_HOST: Redis hostREDIS_PORT: Redis portREDIS_PASSWORD: Redis passwordREDIS_REPLICA_HOST: Redis replica hostREDIS_DB_NUMBER: Redis database numberREDIS_DB_NUMBER_CELERY_RESULT_BACKEND: Celery result backend database numberREDIS_DB_NUMBER_CELERY: Celery broker database numberREDIS_HEALTH_CHECK_INTERVAL: Health check intervalREDIS_POOL_MAX_CONNECTIONS: Maximum pool connectionsREDIS_SSL_CERT_REQS: SSL certificate requirementsREDIS_SSL_CA_CERTS: SSL CA certificatesREDIS_SSL_CERTFILE: Client certificate for mutual TLS (set together with REDIS_SSL_KEYFILE)REDIS_SSL_KEYFILE: Client private key for mutual TLSREDIS_SENTINEL_HOSTS: Comma-separated host:port list of Redis Sentinel nodes. When set,
Onyx and Celery discover the current master through Sentinel instead of REDIS_HOST / REDIS_PORT.
Cannot be combined with USE_REDIS_IAM_AUTH.REDIS_SENTINEL_MASTER_NAME: Sentinel master name. Defaults to mymaster.REDIS_SENTINEL_PASSWORD: Password for the Sentinel nodes, if they require separate auth from the data nodes.OpenSearch Configuration
OpenSearch Configuration
OPENSEARCH_HOST: OpenSearch hostOPENSEARCH_REST_API_PORT: OpenSearch REST API port (default 9200)OPENSEARCH_ADMIN_USERNAME: OpenSearch admin usernameOPENSEARCH_ADMIN_PASSWORD: OpenSearch admin passwordOPENSEARCH_USE_SSL: Use TLS when connecting to OpenSearch (default true)OPENSEARCH_VERIFY_CERTS: Verify the OpenSearch server certificateOPENSEARCH_CA_CERTS: CA bundle used to verify the server certificateOPENSEARCH_CLIENT_CERT: Client certificate for mutual TLSOPENSEARCH_CLIENT_KEY: Client key for mutual TLSOPENSEARCH_AUTH_METHOD: basic (default) or iam (AWS SigV4 signing for managed domains)OPENSEARCH_AWS_REGION: AWS region of the managed OpenSearch domain (required for iam)OPENSEARCH_AWS_SERVICE: SigV4 service name, es (default) or aoss for OpenSearch ServerlessUSING_AWS_MANAGED_OPENSEARCH: Set to true when using an AWS managed OpenSearch domainDEFAULT_OPENSEARCH_CLIENT_TIMEOUT_S: Client request timeout in secondsDEFAULT_OPENSEARCH_QUERY_TIMEOUT_S: Query timeout in secondsOPENSEARCH_TEXT_ANALYZER: Text analyzer for keyword search (default english)OPENSEARCH_INDEX_NUM_SHARDS: Number of primary shards per indexOPENSEARCH_INDEX_NUM_REPLICAS: Number of replicas per indexPIT_KEEP_ALIVE: Point-in-time keep-alive used when scanning an index (default 5m)OPENSEARCH_PROFILING_DISABLED: Disable OpenSearch query profiling (default true)OPENSEARCH_MATCH_HIGHLIGHTS_DISABLED: Disable match highlights in search results (default true)OPENSEARCH_EXPLAIN_ENABLED: Return per-hit score breakdowns for relevance debugging (large performance cost)ONYX_SEARCH_UI_USES_OPENSEARCH_KEYWORD_SEARCH: Use OpenSearch keyword search for the Search UICelery Configuration
Celery Configuration
CELERY_RESULT_EXPIRES: Result expiration time in secondsCELERY_BROKER_POOL_LIMIT: Broker connection pool limitCELERY_WORKER_LIGHT_CONCURRENCY: Light worker concurrencyCELERY_WORKER_LIGHT_PREFETCH_MULTIPLIER: Light worker prefetch multiplierCELERY_WORKER_DOCPROCESSING_CONCURRENCY: Document processing worker concurrencyCELERY_WORKER_DOCFETCHING_CONCURRENCY: Document fetching worker concurrencyCELERY_DOCUMENT_SYNC_BEAT_LOCK_TIMEOUT: Document-index sync lock TTL in seconds. Defaults to 120.
Raise it if the sync pass aborts with “no longer owned” or “Lock not owned on completion”.Rate Limiting
Rate Limiting
RATE_LIMIT_WINDOW_SECONDS: Rate limiting window in secondsRATE_LIMIT_MAX_REQUESTS: Maximum requests per windowREQUEST_TIMEOUT_SECONDS: Default request timeoutIndexing Configuration
Indexing Configuration
INDEX_BATCH_SIZE: Batch size during indexingDISABLE_INDEX_UPDATE_ON_SWAP: Disable primary index updates during embedding model swapsENABLE_MULTIPASS_INDEXING: Enable multipass indexing for better accuracyENABLE_CONTEXTUAL_RAG: Enable contextual retrievalSKIP_METADATA_IN_CHUNK: Skip metadata in chunksINDEXING_SIZE_WARNING_THRESHOLD: Size warning threshold in bytesINDEXING_EMBEDDING_MODEL_NUM_THREADS: Embedding model threadsCONTINUE_ON_CONNECTOR_FAILURE: Continue indexing on connector failuresMAX_DOCUMENT_CHARS: Maximum document charactersMAX_FILE_SIZE_BYTES: Maximum file size in bytesUSE_DOCUMENT_SUMMARY: Use document summary for contextual RAGUSE_CHUNK_SUMMARY: Use chunk summary for contextual RAGConnector Configuration
Connector Configuration
ENABLED_CONNECTOR_TYPES: Comma-separated list of enabled connector typesLEAVE_CONNECTOR_ACTIVE_ON_INITIALIZATION_FAILURE: Keep connector active on init failureWeb ConnectorWEB_CONNECTOR_VALIDATE_URLS: Validate URLs in web connectorHTML_BASED_CONNECTOR_TRANSFORM_LINKS_STRATEGY: Link transformation strategyPARSE_WITH_TRAFILATURA: Use Trafilatura for HTML parsingConfluence ConnectorOAUTH_CONFLUENCE_CLOUD_CLIENT_ID: Confluence Cloud OAuth client IDOAUTH_CONFLUENCE_CLOUD_CLIENT_SECRET: Confluence Cloud OAuth client secretCONFLUENCE_CONNECTOR_LABELS_TO_SKIP: Labels to skip during indexingCONFLUENCE_CONNECTOR_ATTACHMENT_SIZE_THRESHOLD: Attachment size thresholdCONFLUENCE_CONNECTOR_ATTACHMENT_CHAR_COUNT_THRESHOLD: Attachment character thresholdCONFLUENCE_CONNECTOR_USER_PROFILES_OVERRIDE: User profiles override JSONCONFLUENCE_TIMEZONE_OFFSET: Timezone offset for CQL queriesGoogle Drive ConnectorOAUTH_GOOGLE_DRIVE_CLIENT_ID: Google Drive OAuth client IDOAUTH_GOOGLE_DRIVE_CLIENT_SECRET: Google Drive OAuth client secretGOOGLE_DRIVE_CONNECTOR_SIZE_THRESHOLD: File size threshold for Google DriveSharePoint ConnectorSHAREPOINT_CONNECTOR_SIZE_THRESHOLD: File size threshold for SharePointJira ConnectorJIRA_CONNECTOR_LABELS_TO_SKIP: Labels to skip during indexingJIRA_CONNECTOR_MAX_TICKET_SIZE: Maximum ticket size in bytesGitHub ConnectorGITHUB_CONNECTOR_BASE_URL: GitHub base URL (for enterprise)GitLab ConnectorGITLAB_CONNECTOR_INCLUDE_CODE_FILES: Include code files in indexingGong ConnectorGONG_CONNECTOR_START_TIME: Start time for Gong connectorNotion ConnectorNOTION_CONNECTOR_DISABLE_RECURSIVE_PAGE_LOOKUP: Disable recursive page lookupZendesk ConnectorZENDESK_CONNECTOR_SKIP_ARTICLE_LABELS: Article labels to skipEgnyte IntegrationEGNYTE_CLIENT_ID: Egnyte OAuth client IDEGNYTE_CLIENT_SECRET: Egnyte OAuth client secretLinear IntegrationLINEAR_CLIENT_ID: Linear OAuth client IDLINEAR_CLIENT_SECRET: Linear OAuth client secretPruning Configuration
Pruning Configuration
ALLOW_SIMULTANEOUS_PRUNING: Allow simultaneous pruning operationsMAX_PRUNING_DOCUMENT_RETRIEVAL_PER_MINUTE: Maximum document retrieval rate during pruningLogging Configuration
Logging Configuration
LOG_ONYX_MODEL_INTERACTIONS: Log Onyx model interactionsLOG_ENDPOINT_LATENCY: Log endpoint latencyLOG_POSTGRES_LATENCY: Log PostgreSQL latencyLOG_POSTGRES_CONN_COUNTS: Log PostgreSQL connection countsLOG_THIRD_PARTY_DEBUG: Third-party libraries (LiteLLM, httpcore, botocore)
are capped at INFO even when LOG_LEVEL=debug. Set to true to let them log at LOG_LEVEL.Image Processing Configuration
Image Processing Configuration
IMAGE_MODEL_NAME: Image model nameAZURE_IMAGE_API_VERSION: Azure OpenAI image API versionAZURE_IMAGE_API_KEY: Azure OpenAI key used for image generationAZURE_IMAGE_API_BASE: Azure OpenAI endpoint base URL for image generationAZURE_IMAGE_DEPLOYMENT_NAME: Azure OpenAI image deployment namespaceIMAGE_SUMMARIZATION_SYSTEM_PROMPT: System prompt for image summarizationIMAGE_SUMMARIZATION_USER_PROMPT: User prompt for image summarizationIMAGE_SUMMARIZATION_TIMEOUT: Timeout in seconds for image summarization LLM calls during indexing.
Defaults to 300.CONTEXTUAL_RAG_LLM_TIMEOUT: Timeout in seconds for contextual RAG summary LLM calls during indexing.
Defaults to 180.File Storage Configuration
File Storage Configuration
FILE_STORE_BACKEND: File store backend. Use s3 (default) for AWS S3, the object store,
and other S3-compatible storage, gcs for Google Cloud Storage, azure for Azure Blob Storage,
or postgres to keep files in PostgreSQL.S3 and the object store (FILE_STORE_BACKEND=s3)S3_FILE_STORE_BUCKET_NAME: S3 bucket name for file storageS3_FILE_STORE_PREFIX: S3 prefix for file storageS3_ENDPOINT_URL: S3 endpoint URL. http://object-store:8333 for the object store,
or the endpoint of another S3-compatible service.S3_VERIFY_SSL: Verify SSL for S3 connectionsS3_AWS_ACCESS_KEY_ID: AWS access key ID for S3. The object store uses it as its admin key.S3_AWS_SECRET_ACCESS_KEY: AWS secret access key for S3S3_LEGACY_ENDPOINT_URL, S3_LEGACY_AWS_ACCESS_KEY_ID, S3_LEGACY_AWS_SECRET_ACCESS_KEY,
LEGACY_COPY_SETTLE_SECONDS, LEGACY_COPY_WORKERS, MINIO_REPLICAS:
Used only during the one-time move to the object store
from a release before v5.0.0. Leave unset on a fresh install or with external storage.Google Cloud Storage (FILE_STORE_BACKEND=gcs)GCS_FILE_STORE_BUCKET_NAME: Cloud Storage bucket name for file storage. Required.GCS_FILE_STORE_PREFIX: Object prefix for file storage. Defaults to onyx-files.GCS_PROJECT_ID: GCP project of the bucket. If you do not set it, Onyx gets the project from the credentials.GCS_SERVICE_ACCOUNT_KEY_PATH: Path to a service account JSON key fileGCS_SERVICE_ACCOUNT_KEY_JSON: Service account JSON key as a stringOnyx uses the first credentials it finds, in this order: GCS_SERVICE_ACCOUNT_KEY_PATH,
then GCS_SERVICE_ACCOUNT_KEY_JSON, then Application Default Credentials.
Application Default Credentials include GKE Workload Identity, the Compute Engine metadata server,
and gcloud auth application-default login. On GKE, use Workload Identity and do not set a key.
The identity needs roles/storage.objectAdmin and roles/storage.legacyBucketReader on the bucket,
because Onyx reads the bucket when it starts.Azure Blob Storage (FILE_STORE_BACKEND=azure)AZURE_FILE_STORE_CONTAINER_NAME: Blob container name for file storageAZURE_FILE_STORE_PREFIX: Blob prefix for file storage. Defaults to onyx-files.AZURE_STORAGE_ACCOUNT_NAME: Storage account nameAZURE_STORAGE_ACCOUNT_URL: Blob endpoint URL. If you do not set it,
Onyx uses https://<account>.blob.core.windows.net. Set it for Azurite or sovereign clouds.AZURE_STORAGE_CONNECTION_STRING: Storage account connection stringAZURE_STORAGE_ACCOUNT_KEY: Storage account keyOnyx uses the first credentials it finds, in this order: AZURE_STORAGE_CONNECTION_STRING,
then AZURE_STORAGE_ACCOUNT_KEY, then DefaultAzureCredential.
DefaultAzureCredential includes AKS Workload Identity, managed identity, and az login.Telemetry & Analytics
Telemetry & Analytics
DISABLE_TELEMETRY: Disable anonymous usage telemetryCUSTOM_ANSWER_VALIDITY_CONDITIONS: Custom answer validity conditionsAPI Configuration
API Configuration
API_PREFIX: Used to prepend a base path for all API routes.
Set this to /api if you are running Onyx behind a reverse proxy that doesn’t support stripping the /api prefix
from requests to the API server.LITELLM_CUSTOM_ERROR_MESSAGE_MAPPINGS: Custom error message mappings (JSON)GEN_AI_MODEL_FALLBACK_MAX_TOKENS: Maximum token limit for generative AI model fallbackEnterprise Configuration
Enterprise Configuration
DATA_PLANE_SECRET: Secret for secure control/data plane communicationEXPECTED_API_KEY: Additional security check for control plane APICONTROL_PLANE_API_BASE_URL: Control plane API base URLDevelopment & Testing
Development & Testing
DEV_MODE: Enable development modeINTEGRATION_TESTS_MODE: Enable integration tests modeDeployment Configuration
Deployment Configuration
POD_NAME: Kubernetes pod namePOD_NAMESPACE: Kubernetes pod namespaceAWS_REGION_NAME: AWS region nameTARGET_AVAILABLE_TENANTS: Number of pre-provisioned tenants to maintainSYSTEM_RECURSION_LIMIT: System recursion limitEnterprise Edition Environment Variables
ENV_SEED_CONFIGURATION
ENV_SEED_CONFIGURATION
ENV_SEED_CONFIGURATION accepts a JSON string with the following options:llms: List of LLM configurations (name, provider, api_key, api_base, api_version, custom_config, default_model_name, fast_default_model_name)admin_user_emails: List of email addresses for automatic admin role assignmentseeded_name: Pre-set name for your Onyx instanceseeded_logo_path: Path to your logo within the assets folder
API_KEY_HASH_ROUNDS
API_KEY_HASH_ROUNDS
- Default value:
535000 - Allowed range:
1000to999999999