Environment variable reference
LeapView configuration is process-global. Environment settings apply to the entire instance and cannot be overridden per workspace. Values marked secret must come from the deployment environment or a secret manager.
Run leapview config validate to validate the active environment, or add --production to apply production requirements when LEAPVIEW_PRODUCTION is not set. Validation never prints configured values or secrets.
Administration
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_BOOTSTRAP_ADMIN_EMAIL |
string |
instance initialization |
supported |
Email assigned to the initial production administrator. |
Agent
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_AGENT_API_KEY |
string / secret |
serve |
supported |
API key for the configured agent model provider. |
LEAPVIEW_AGENT_BASE_URL |
string / https://api.openai.com/v1 |
serve |
supported |
OpenAI-compatible agent API base URL. |
LEAPVIEW_AGENT_MODEL |
string |
serve |
supported |
Agent model identifier. |
Analytics
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_DUCKDB_NODE_MAX_THREADS |
integer / 5 |
serve |
supported |
Execution-thread limit shared by all work in the process-owned DuckDB instance. |
LEAPVIEW_DUCKDB_NODE_MEMORY_MAX_BYTES |
integer64 / 2684354560 |
serve |
supported |
Memory limit for the process-owned DuckDB instance. |
LEAPVIEW_DUCKDB_NODE_TEMP_MAX_BYTES |
integer64 / 10737418240 |
serve |
supported |
Temporary-storage limit for the process-owned DuckDB instance. |
LEAPVIEW_DUCKDB_TEMP_DIR |
string |
serve |
supported |
Private temporary-storage directory for the process-owned DuckDB instance; defaults beneath LEAPVIEW_HOME. |
LEAPVIEW_QUERY_CACHE_NODE_MAX_BYTES |
integer64 / 536870912 |
serve |
supported |
Maximum conservatively retained Arrow cache bytes for the node. |
LEAPVIEW_QUERY_CACHE_NODE_MAX_ENTRIES |
integer / 2048 |
serve |
supported |
Maximum cached result entries retained by the node. |
LEAPVIEW_QUERY_CACHE_RUNTIME_MAX_BYTES |
integer64 / 67108864 |
serve |
supported |
Maximum conservatively retained Arrow cache bytes for one serving generation. |
LEAPVIEW_QUERY_CACHE_RUNTIME_MAX_ENTRIES |
integer / 256 |
serve |
supported |
Maximum cached result entries retained by one serving generation. |
LEAPVIEW_QUERY_CACHE_WORKSPACE_MAX_BYTES |
integer64 / 134217728 |
serve |
supported |
Maximum conservatively retained Arrow cache bytes across one workspace's serving generations. |
LEAPVIEW_QUERY_CACHE_WORKSPACE_MAX_ENTRIES |
integer / 512 |
serve |
supported |
Maximum cached result entries retained across one workspace's serving generations. |
LEAPVIEW_QUERY_RESULT_MAX_BYTES |
integer64 / 33554432 |
serve |
supported |
Maximum conservatively retained Arrow bytes for one logical analytical operation. |
LEAPVIEW_QUERY_RESULT_MAX_ROWS |
integer / 10000 |
serve |
supported |
Maximum rows retained by one logical analytical operation. |
Assets
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_ASSET_VERSION |
string |
serve |
supported |
Optional browser asset cache-busting version override. |
LEAPVIEW_MAP_ASSET_DIR |
string / .data/map-assets |
serve |
supported |
Local root containing the verified, content-addressed basemap package. |
Authentication
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_API_TOKEN_ONLY_AUTH |
boolean |
serve |
supported |
Disable browser authentication and accept API tokens only. |
LEAPVIEW_AZURE_CALLBACK_URL |
string |
serve |
supported |
HTTPS callback URL registered with Azure AD or Entra ID. |
LEAPVIEW_AZURE_CLIENT_ID |
string |
serve |
supported |
Azure AD or Entra ID OAuth client identifier. |
LEAPVIEW_AZURE_CLIENT_SECRET |
string / secret |
serve |
supported |
Azure AD or Entra ID OAuth client secret. |
LEAPVIEW_AZURE_TENANT |
string |
serve |
supported |
Optional Azure AD or Entra ID tenant identifier. |
LEAPVIEW_DEV_API_TOKEN |
string / dev / secret |
serve |
development |
Static bearer credential accepted by the public API in development; replace the development default on shared machines. |
LEAPVIEW_DEV_AUTH_BYPASS |
boolean / false |
serve |
development |
Bypass authentication in development; forbidden in production. |
LEAPVIEW_LOCAL_AUTH |
boolean |
serve |
supported |
Enable administrator-managed local browser authentication. |
LEAPVIEW_MCP_OAUTH_ISSUER_URL |
string |
serve |
supported |
Optional external OAuth issuer for MCP JWT access tokens; when omitted, LeapView provides the MCP authorization server. |
LEAPVIEW_OIDC_CALLBACK_URL |
string |
serve |
supported |
HTTPS callback URL registered with the generic OIDC provider. |
LEAPVIEW_OIDC_CLIENT_ID |
string |
serve |
supported |
Generic OIDC client identifier. |
LEAPVIEW_OIDC_CLIENT_SECRET |
string / secret |
serve |
supported |
Generic OIDC client secret. |
LEAPVIEW_OIDC_ISSUER_URL |
string |
serve |
supported |
HTTPS issuer URL for the generic OIDC provider. |
LEAPVIEW_OIDC_PROVIDER_ID |
string / oidc |
serve |
supported |
Route-safe identifier for the generic OIDC provider. |
LEAPVIEW_OIDC_SCOPES |
string |
serve |
supported |
Comma- or whitespace-separated additional OIDC scopes. |
LEAPVIEW_SCIM_BEARER_TOKEN |
string / secret |
serve |
supported |
Bearer token enabling SCIM provisioning; production requires at least 32 characters when set. |
Bootstrap
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_BOOTSTRAP_CACHE_DIR |
string |
bootstrap tools |
tooling |
Download cache directory used by dataset bootstrap tools. |
LEAPVIEW_BOOTSTRAP_FORCE |
boolean / false |
bootstrap tools |
tooling |
Force dataset bootstrap tools to refresh existing files. |
Client
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_API_TOKEN |
string / secret |
publish,api |
supported |
API token used by non-interactive CLI commands. |
LEAPVIEW_CLI_CONFIG |
string |
client commands |
supported |
Path to the local CLI target and token configuration file. |
LEAPVIEW_TARGET |
string |
client commands |
supported |
Default LeapView API target URL. |
Connection
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_WAREHOUSE_DSN |
string / secret |
example connection |
external |
Example externally supplied warehouse connection credential. |
Deployment
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_IMAGE |
string |
Hetzner provisioner |
tooling |
Immutable LeapView OCI image reference consumed by deployment tooling. |
LEAPVIEW_SITE_IMAGE |
string |
public-site provisioner |
tooling |
Immutable LeapView public-site OCI image reference consumed by deployment tooling. |
Development
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_BASE_URL |
string / http://localhost:8195 |
ui-qa |
development |
Base URL used by browser QA tooling. |
LEAPVIEW_BRIDGE_BENCH_ITERATIONS |
integer / 120 |
browser benchmark |
development |
Measured Datastar bridge benchmark iterations. |
LEAPVIEW_BRIDGE_BENCH_WARMUP |
integer / 20 |
browser benchmark |
development |
Warm-up Datastar bridge benchmark iterations. |
LEAPVIEW_DEV_LOG_LINES |
integer / 120 |
dev server |
development |
Number of log lines shown by the managed development server. |
LEAPVIEW_DEV_PORT_COUNT |
integer / 100 |
dev server |
development |
Number of ports scanned by the managed development server. |
LEAPVIEW_DEV_PORT_START |
integer / 8100 |
dev server |
development |
First port scanned by the managed development server. |
LEAPVIEW_DEV_PROJECT |
string / dashboards/leapview.yaml |
dev server |
development |
Project published by the managed development server. |
LEAPVIEW_DEV_READY_ATTEMPTS |
integer / 150 |
dev server |
development |
Readiness attempts made by the managed development server. |
LEAPVIEW_DEV_READY_INTERVAL |
duration / 200ms |
dev server |
development |
Delay between managed development server readiness attempts. |
LEAPVIEW_DEV_RESTART |
boolean / false |
dev server |
development |
Force the managed development server to restart. |
LEAPVIEW_DEV_SKIP_PUBLISH |
boolean / false |
dev server |
development |
Skip automatic project publishing in the managed development server. |
LEAPVIEW_DEV_WORKTREE |
string |
dev server |
internal |
Worktree path exported by the managed development server. |
LEAPVIEW_PERF_ENFORCE_THRESHOLDS |
boolean / false |
dashboard performance QA |
development |
Fail dashboard performance QA when phase latency or query-count thresholds are exceeded. |
LEAPVIEW_PERF_ITERATIONS |
integer / 5 |
dashboard performance QA |
development |
Measured interaction iterations run by the configured dashboard performance scenario. |
LEAPVIEW_PERF_LOG |
string / .tmp/dev-server.log |
dashboard performance QA |
development |
Development server log consumed by dashboard performance QA. |
LEAPVIEW_PERF_MAX_ALL_TARGET_P95_MS |
integer / 1000 |
dashboard performance QA |
development |
Maximum all-target settlement p95 when performance thresholds are enforced. |
LEAPVIEW_PERF_MAX_CRITICAL_KPI_P95_MS |
integer / 1000 |
dashboard performance QA |
development |
Maximum critical-KPI settlement p95 when performance thresholds are enforced. |
LEAPVIEW_PERF_MAX_FIRST_TARGET_PAINT_P95_MS |
integer / 500 |
dashboard performance QA |
development |
Maximum first-target paint p95 when performance thresholds are enforced. |
LEAPVIEW_PERF_MAX_OPTIMISTIC_FEEDBACK_P95_MS |
integer / 16 |
dashboard performance QA |
development |
Maximum local optimistic-feedback p95 when performance thresholds are enforced. |
LEAPVIEW_PERF_MAX_QUERIES |
integer / 4 |
dashboard performance QA |
development |
Maximum physical queries per measured refresh when performance thresholds are enforced. |
LEAPVIEW_PERF_OUTPUT |
string |
dashboard performance QA |
development |
Optional JSON output path; defaults to a suite-specific file under .tmp. |
LEAPVIEW_PERF_SCENARIO |
string / scripts/performance/movielens.json |
dashboard performance QA |
development |
Path to a dashboard performance scenario manifest. |
LEAPVIEW_SMOKE_PORT |
integer / 18080 |
production image smoke test |
internal |
Host port used by the production image smoke test. |
Managed Data
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_MANAGED_DATA_BACKEND |
string / local |
serve |
supported |
Storage backend for project-global managed data; supported values are local and s3. |
LEAPVIEW_MANAGED_DATA_DIR |
string |
serve |
supported |
Private local root for managed-data objects, upload staging, and verified runtime views; defaults beneath LEAPVIEW_HOME. |
LEAPVIEW_MANAGED_DATA_GC_GRACE_PERIOD |
duration / 24h |
serve |
supported |
Minimum age of unreferenced managed-data objects before garbage collection. |
LEAPVIEW_MANAGED_DATA_GC_INTERVAL |
duration / 1h |
serve |
supported |
Interval between managed-data garbage-collection passes. |
LEAPVIEW_MANAGED_DATA_MAX_FILES |
integer / 10000 |
serve |
supported |
Maximum number of files in one managed-data revision. |
LEAPVIEW_MANAGED_DATA_MAX_FILE_BYTES |
integer64 / 1073741824 |
serve |
supported |
Maximum size in bytes of one managed-data file. |
LEAPVIEW_MANAGED_DATA_MAX_REVISION_BYTES |
integer64 / 10737418240 |
serve |
supported |
Maximum total size in bytes of one managed-data revision. |
LEAPVIEW_MANAGED_DATA_MIN_FREE_BYTES |
integer64 / 5368709120 |
serve |
supported |
Minimum free bytes required before accepting local managed-data uploads. |
LEAPVIEW_MANAGED_DATA_S3_ACCESS_KEY_ID |
string / secret |
serve |
supported |
Optional S3 access-key identifier for managed-data storage. |
LEAPVIEW_MANAGED_DATA_S3_BUCKET |
string |
serve |
supported |
S3 bucket used for managed-data objects and staging. |
LEAPVIEW_MANAGED_DATA_S3_ENDPOINT |
string |
serve |
supported |
Optional S3-compatible endpoint URL. |
LEAPVIEW_MANAGED_DATA_S3_PATH_STYLE |
boolean / false |
serve |
supported |
Use path-style addressing for S3-compatible managed-data storage. |
LEAPVIEW_MANAGED_DATA_S3_PREFIX |
string / managed-data |
serve |
supported |
Object-key prefix for managed data in the configured S3 bucket. |
LEAPVIEW_MANAGED_DATA_S3_REGION |
string |
serve |
supported |
S3 region used for managed-data requests. |
LEAPVIEW_MANAGED_DATA_S3_SECRET_ACCESS_KEY |
string / secret |
serve |
supported |
Optional S3 secret access key for managed-data storage. |
LEAPVIEW_MANAGED_DATA_S3_SESSION_TOKEN |
string / secret |
serve |
supported |
Optional temporary S3 session token for managed-data storage. |
LEAPVIEW_MANAGED_DATA_UPLOAD_SESSION_TTL |
duration / 24h |
serve |
supported |
Lifetime of an incomplete managed-data upload session. |
Operations
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_HEALTHCHECK_URL |
string |
healthcheck |
supported |
Explicit readiness URL used by the healthcheck command. |
LEAPVIEW_METRICS_BEARER_TOKEN |
string / secret |
serve |
supported |
Bearer token protecting the Prometheus metrics endpoint; production requires at least 32 characters. |
Qualification
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_QUALIFICATION_EVIDENCE_DIR |
string |
installed-candidate qualification |
tooling |
Directory receiving the bounded redacted installed-candidate evidence bundle. |
LEAPVIEW_QUALIFICATION_PREVIOUS_IMAGE |
string |
installed-candidate qualification |
tooling |
Optional compatible immutable image digest used to exercise upgrade and rollback. |
Refresh
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_REFRESH_JOB_LEASE_TIMEOUT |
duration / 2m |
serve |
supported |
Lease duration before an abandoned refresh job may be reclaimed. |
Release
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_PUBLIC_RELEASE_MANIFEST |
string / docs/public-release.json |
public site smoke |
tooling |
Release manifest compared with the public site's deployed release identity. |
LEAPVIEW_PUBLIC_SITE_ALIASES |
string / http://leapview.dev,https://www.leapview.dev |
public site smoke |
tooling |
Comma-separated public aliases that must redirect to the canonical site origin. |
LEAPVIEW_PUBLIC_SITE_URL |
string / https://leapview.dev |
public site smoke |
tooling |
Canonical public site origin verified by the release adoption smoke test. |
Security
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_ALLOWED_HOSTS |
string |
serve |
supported |
Comma- or whitespace-separated exact hosts and wildcard suffixes accepted in production. |
LEAPVIEW_COOKIE_SECURE |
boolean |
serve |
supported |
Secure-cookie override; defaults to true for production browser authentication. |
LEAPVIEW_CSRF_KEY |
string / secret |
serve |
supported |
Key used for CSRF protection and OAuth state cookies; production requires at least 32 characters. |
LEAPVIEW_TOKEN_HASH_KEY |
string / secret |
serve |
supported |
Optional dedicated key for deterministic API-token fingerprints; falls back to the CSRF key. |
LEAPVIEW_TRUST_PROXY_HEADERS |
boolean / false |
serve |
supported |
Trust client-address headers only when a trusted proxy overwrites them. |
Server
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_ADDR |
string |
serve,healthcheck |
supported |
HTTP listen address. |
LEAPVIEW_ENVIRONMENT |
string |
serve,admin |
supported |
Single serving environment permanently bound to this LeapView instance. |
LEAPVIEW_EVALUATION_MODE |
boolean / false |
evaluate,serve,admin |
supported |
Enable the disposable loopback-only evaluation profile; never use for production deployment. |
LEAPVIEW_PRODUCTION |
boolean / false |
serve,admin |
supported |
Enable production serving and validation behavior. |
LEAPVIEW_PUBLIC_URL |
string |
serve |
supported |
Canonical externally visible LeapView origin used for MCP resource identity and OAuth discovery. |
Site
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_SITE_BASE_URL |
string |
public site |
supported |
Externally visible HTTP(S) origin used for canonical URLs, discovery documents, and transport policy. |
LEAPVIEW_SITE_SHOWCASE_EMBED_URL |
string |
public site |
supported |
Optional public dashboard embed URL that enables the live /showcase route and its exact frame-src policy. |
Storage
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_DUCKDB_DIR |
string |
serve |
supported |
Directory containing node-local DuckDB runtime state. |
LEAPVIEW_DUCKLAKE_CATALOG_PATH |
string |
serve,admin |
supported |
Path to the node's DuckDB-backed DuckLake catalog. |
LEAPVIEW_HOME |
string / .leapview |
serve,admin,client |
supported |
Instance state directory containing databases, artifacts, and runtime files. |
Workload
| Environment variable |
Type / default |
Scope |
Lifecycle |
Description |
LEAPVIEW_WORKLOAD_BACKGROUND_EXECUTION_TIMEOUT |
duration / 15m |
serve |
supported |
Maximum execution time for background work. |
LEAPVIEW_WORKLOAD_BACKGROUND_MAX_QUEUED |
integer / 16 |
serve |
supported |
Maximum queued background operations. |
LEAPVIEW_WORKLOAD_BACKGROUND_MAX_QUEUED_PER_WORKSPACE |
integer / 4 |
serve |
supported |
Maximum queued background operations for one workspace. |
LEAPVIEW_WORKLOAD_BACKGROUND_MAX_RUNNING |
integer / 1 |
serve |
supported |
Maximum concurrently running background operations. |
LEAPVIEW_WORKLOAD_BACKGROUND_QUEUE_TIMEOUT |
duration / 2m |
serve |
supported |
Maximum time background work may wait for admission. |
LEAPVIEW_WORKLOAD_BACKGROUND_RESERVED_RUNNING |
integer / 0 |
serve |
supported |
Capacity reserved for background work when background demand is queued. |
LEAPVIEW_WORKLOAD_CONTROL_EXECUTION_TIMEOUT |
duration / 15m |
serve |
supported |
Maximum execution time for control work. |
LEAPVIEW_WORKLOAD_CONTROL_MAX_QUEUED |
integer / 16 |
serve |
supported |
Maximum queued control operations. |
LEAPVIEW_WORKLOAD_CONTROL_MAX_QUEUED_PER_WORKSPACE |
integer / 16 |
serve |
supported |
Maximum queued node-scoped control operations. |
LEAPVIEW_WORKLOAD_CONTROL_MAX_RUNNING |
integer / 1 |
serve |
supported |
Maximum concurrently running control operations. |
LEAPVIEW_WORKLOAD_CONTROL_QUEUE_TIMEOUT |
duration / 2m |
serve |
supported |
Maximum time control work may wait for admission. |
LEAPVIEW_WORKLOAD_CONTROL_RESERVED_RUNNING |
integer / 1 |
serve |
supported |
Capacity reserved for node-scoped control work when control demand is queued. |
LEAPVIEW_WORKLOAD_INTERACTIVE_EXECUTION_TIMEOUT |
duration / 2m |
serve |
supported |
Maximum execution time for interactive work. |
LEAPVIEW_WORKLOAD_INTERACTIVE_MAX_QUEUED |
integer / 64 |
serve |
supported |
Maximum queued interactive operations. |
LEAPVIEW_WORKLOAD_INTERACTIVE_MAX_QUEUED_PER_WORKSPACE |
integer / 16 |
serve |
supported |
Maximum queued interactive operations for one workspace. |
LEAPVIEW_WORKLOAD_INTERACTIVE_MAX_RUNNING |
integer / 4 |
serve |
supported |
Maximum concurrently running interactive operations. |
LEAPVIEW_WORKLOAD_INTERACTIVE_QUEUE_TIMEOUT |
duration / 30s |
serve |
supported |
Maximum time interactive work may wait for admission. |
LEAPVIEW_WORKLOAD_INTERACTIVE_RESERVED_RUNNING |
integer / 3 |
serve |
supported |
Capacity reserved for interactive work when interactive demand is queued. |
LEAPVIEW_WORKLOAD_MAINTENANCE_EXECUTION_TIMEOUT |
duration / 30m |
serve |
supported |
Maximum execution time for maintenance work. |
LEAPVIEW_WORKLOAD_MAINTENANCE_MAX_QUEUED |
integer / 0 |
serve |
supported |
Maximum queued maintenance operations; zero makes maintenance skip when saturated. |
LEAPVIEW_WORKLOAD_MAINTENANCE_MAX_QUEUED_PER_WORKSPACE |
integer / 0 |
serve |
supported |
Maximum queued node-scoped maintenance operations. |
LEAPVIEW_WORKLOAD_MAINTENANCE_MAX_RUNNING |
integer / 1 |
serve |
supported |
Maximum concurrently running maintenance operations. |
LEAPVIEW_WORKLOAD_MAINTENANCE_QUEUE_TIMEOUT |
duration / 0s |
serve |
supported |
Maximum time maintenance may wait; zero means no wait. |
LEAPVIEW_WORKLOAD_MAINTENANCE_RESERVED_RUNNING |
integer / 0 |
serve |
supported |
Capacity reserved for maintenance work when maintenance demand is queued. |
LEAPVIEW_WORKLOAD_MAX_QUEUED |
integer / 112 |
serve |
supported |
Maximum queued operations across all workload classes. |
LEAPVIEW_WORKLOAD_MAX_RUNNING |
integer / 5 |
serve |
supported |
Maximum operations running concurrently on this node. |
LEAPVIEW_WORKLOAD_REFRESH_EXECUTION_TIMEOUT |
duration / 0s |
serve |
supported |
Maximum execution time for refresh work; zero leaves the deadline to the workflow. |
LEAPVIEW_WORKLOAD_REFRESH_MAX_QUEUED |
integer / 16 |
serve |
supported |
Maximum queued refresh operations. |
LEAPVIEW_WORKLOAD_REFRESH_MAX_QUEUED_PER_WORKSPACE |
integer / 1 |
serve |
supported |
Maximum queued refresh operations for one workspace. |
LEAPVIEW_WORKLOAD_REFRESH_MAX_RUNNING |
integer / 1 |
serve |
supported |
Maximum concurrently running refresh operations. |
LEAPVIEW_WORKLOAD_REFRESH_QUEUE_TIMEOUT |
duration / 2m |
serve |
supported |
Maximum time refresh work may wait for admission. |
LEAPVIEW_WORKLOAD_REFRESH_RESERVED_RUNNING |
integer / 1 |
serve |
supported |
Capacity reserved for refresh work when refresh demand is queued. |
Relationships
- production-dev-bypass: Production cannot bypass authentication. Failure:
production serve must not enable LEAPVIEW_DEV_AUTH_BYPASS.
- production-oidc-complete: OIDC settings are all-or-none in production. Failure:
production OIDC auth requires LEAPVIEW_OIDC_ISSUER_URL, LEAPVIEW_OIDC_CLIENT_ID, LEAPVIEW_OIDC_CLIENT_SECRET, and LEAPVIEW_OIDC_CALLBACK_URL.
- production-azure-complete: Azure settings are all-or-none in production. Failure:
production Azure auth requires LEAPVIEW_AZURE_CLIENT_ID, LEAPVIEW_AZURE_CLIENT_SECRET, and LEAPVIEW_AZURE_CALLBACK_URL.
- production-auth-mode: Production requires local, API-token-only, OIDC, or Azure authentication. Failure:
production serve requires OIDC auth env vars, Azure auth env vars, LEAPVIEW_LOCAL_AUTH, or LEAPVIEW_API_TOKEN_ONLY_AUTH.
- production-csrf-key: Production requires a CSRF key with at least 32 characters. Failure:
production serve requires LEAPVIEW_CSRF_KEY with at least 32 characters.
- production-metrics-token: Production requires a metrics bearer token with at least 32 characters. Failure:
production metrics scraping requires LEAPVIEW_METRICS_BEARER_TOKEN with at least 32 characters.
- production-public-url: Production requires a canonical public URL. Failure:
production serve requires LEAPVIEW_PUBLIC_URL.
- production-public-url-https: The production public URL must be an HTTPS origin without a path, query, fragment, or credentials. Failure:
production serve requires LEAPVIEW_PUBLIC_URL to be an https origin.
- production-mcp-oauth-issuer-https: An external production MCP OAuth issuer must use HTTPS. Failure:
production serve requires LEAPVIEW_MCP_OAUTH_ISSUER_URL to be an https URL.
- production-allowed-host: Production derives an allowed host from its public URL, explicit hosts, or a browser-auth callback host. Failure:
production serve requires LEAPVIEW_PUBLIC_URL, LEAPVIEW_ALLOWED_HOSTS, or an OIDC/Azure callback URL host.
- production-secure-cookie: Production browser authentication requires secure cookies unless API-token-only mode is also enabled. Failure:
production browser auth requires LEAPVIEW_COOKIE_SECURE=true.
- evaluation-production: Evaluation mode uses the production serving-state runtime. Failure:
LEAPVIEW_EVALUATION_MODE requires LEAPVIEW_PRODUCTION=true.
- evaluation-environment: Evaluation state is isolated in the evaluation environment. Failure:
LEAPVIEW_EVALUATION_MODE requires LEAPVIEW_ENVIRONMENT=evaluation.
- evaluation-local-auth: Evaluation mode requires an unavoidable local sign-in. Failure:
LEAPVIEW_EVALUATION_MODE requires LEAPVIEW_LOCAL_AUTH=true.
- evaluation-loopback-origin: Evaluation mode permits plain HTTP only for a loopback origin. Failure:
LEAPVIEW_EVALUATION_MODE requires a loopback http LEAPVIEW_PUBLIC_URL origin.
- evaluation-insecure-cookie: Evaluation mode uses a localhost HTTP session cookie. Failure:
LEAPVIEW_EVALUATION_MODE requires LEAPVIEW_COOKIE_SECURE=false.
- evaluation-no-proxy: Evaluation mode must not trust forwarding headers. Failure:
LEAPVIEW_EVALUATION_MODE requires LEAPVIEW_TRUST_PROXY_HEADERS=false.
- production-oidc-issuer-https: The production OIDC issuer must use HTTPS. Failure:
production serve requires LEAPVIEW_OIDC_ISSUER_URL to be an https URL.
- production-oidc-callback-https: The production OIDC callback must use HTTPS. Failure:
production serve requires LEAPVIEW_OIDC_CALLBACK_URL to be an https URL.
- production-oidc-provider-slug: The OIDC provider identifier must be route-safe. Failure:
LEAPVIEW_OIDC_PROVIDER_ID must be a route-safe slug containing only letters, numbers, dots, underscores, or dashes.
- production-azure-callback-https: The production Azure callback must use HTTPS. Failure:
production serve requires LEAPVIEW_AZURE_CALLBACK_URL to be an https URL.
- production-scim-token: A configured production SCIM token must contain at least 32 characters. Failure:
production SCIM provisioning requires LEAPVIEW_SCIM_BEARER_TOKEN with at least 32 characters.
- managed-data-backend: Managed data uses a supported storage backend. Failure:
LEAPVIEW_MANAGED_DATA_BACKEND must be local or s3.
- managed-data-runtime-dir: Every managed-data backend requires a private local runtime and staging directory. Failure:
managed-data storage requires LEAPVIEW_MANAGED_DATA_DIR.
- managed-data-s3-location: The S3 managed-data backend requires a bucket and region. Failure:
S3 managed-data storage requires LEAPVIEW_MANAGED_DATA_S3_BUCKET and LEAPVIEW_MANAGED_DATA_S3_REGION.
- managed-data-s3-credentials: Managed-data S3 credentials are either omitted or configured as a complete key pair. Failure:
managed-data S3 credentials require both LEAPVIEW_MANAGED_DATA_S3_ACCESS_KEY_ID and LEAPVIEW_MANAGED_DATA_S3_SECRET_ACCESS_KEY; a session token also requires that pair.
- managed-data-positive-limits: Managed-data upload, session, garbage-collection, and free-space limits are positive. Failure:
managed-data limits, durations, and free-space thresholds must be positive.
- managed-data-revision-limit: The managed-data revision limit is at least the per-file limit. Failure:
LEAPVIEW_MANAGED_DATA_MAX_REVISION_BYTES must be at least LEAPVIEW_MANAGED_DATA_MAX_FILE_BYTES.