Skip to content

Environment Variables ​

Every environment variable OpConsole reads, with its config key and default. For full explanations, see the Configuration Reference.

Core ​

VariableConfig keyDefault
OPCONSOLE_ENABLEDenabledtrue
OPCONSOLE_ROUTE_PREFIXroute.prefixadmin/opconsole
OPCONSOLE_THEMEthemenull (auto for standalone layout, light when embedded)
OPCONSOLE_THEME_TOGGLEtheme_toggletrue
OPCONSOLE_WEB_FONTSweb_fontsfalse
OPCONSOLE_TABLEtableopconsole_runs
OPCONSOLE_CONNECTIONconnectionnull
OPCONSOLE_HISTORY_LIMIThistory_limit15

Concurrency ​

VariableConfig keyDefault
OPCONSOLE_LOCK_STOREconcurrency.lock_storeopconsole
OPCONSOLE_LOCK_SECONDSconcurrency.lock_seconds1800
OPCONSOLE_MAX_RUNTIME_SECONDSconcurrency.max_runtime_seconds1500

Audit ​

VariableConfig keyDefault
OPCONSOLE_AUDIT_POLICYaudit.policybest_effort

Heartbeats ​

VariableConfig keyDefault
OPCONSOLE_HEARTBEAT_STOREheartbeats.storenull
OPCONSOLE_HEARTBEAT_SCHEDULERheartbeats.schedulertrue
OPCONSOLE_HEARTBEAT_SCHEDULER_MAX_AGEheartbeats.scheduler_max_age120
OPCONSOLE_HEARTBEAT_QUEUEheartbeats.queuetrue
OPCONSOLE_HEARTBEAT_QUEUE_MAX_AGEheartbeats.queue_max_age300
OPCONSOLE_HEARTBEAT_QUEUE_CONNECTIONheartbeats.queue_connectionnull
OPCONSOLE_HEARTBEAT_QUEUE_NAMEheartbeats.queue_namenull

Disk ​

VariableConfig keyDefault
OPCONSOLE_DISK_MIN_FREE_PERCENTdisk.min_free_percent10

Health endpoint ​

VariableConfig keyDefault
OPCONSOLE_HEALTH_ENDPOINThealth_endpoint.enabledfalse
OPCONSOLE_HEALTH_TOKENhealth_endpoint.tokennull
OPCONSOLE_HEALTH_RATE_LIMIThealth_endpoint.rate_limit60

Actions ​

VariableConfig keyDefault
OPCONSOLE_ACTION_STORAGE_LINKactions.storage_linkfalse
OPCONSOLE_ACTION_SECURITY_SCANactions.security_scantrue
OPCONSOLE_ACTION_OCTANE_RELOADactions.octane_reloadtrue

Octane ​

VariableConfig keyDefault
OPCONSOLE_OCTANE_CHECKSoctane.checksauto
OPCONSOLE_OCTANE_EXPECTEDoctane.expected_in_productionfalse
OPCONSOLE_OCTANE_ALLOW_ACTIONSoctane.allow_actions_in_swoolefalse

Maintenance ​

VariableConfig keyDefault
OPCONSOLE_MAINTENANCE_ALLOW_CONSOLEmaintenance.allow_consoletrue

Failed jobs ​

VariableConfig keyDefault
OPCONSOLE_FAILED_JOBSfailed_jobs.enabledtrue
OPCONSOLE_FAILED_JOBS_LIMITfailed_jobs.limit50
OPCONSOLE_FAILED_JOBS_RETRYfailed_jobs.allow_retrytrue

Security audit ​

VariableConfig keyDefault
OPCONSOLE_COMPOSERsecurity.composercomposer
OPCONSOLE_SECURITY_TIMEOUTsecurity.timeout120
OPCONSOLE_SECURITY_MAX_AGEsecurity.max_age_seconds604800
OPCONSOLE_SECURITY_INCLUDE_DEVsecurity.include_devfalse
OPCONSOLE_SECURITY_STOREsecurity.storeopconsole
OPCONSOLE_SECURITY_SCHEDULEsecurity.schedulefalse
OPCONSOLE_SECURITY_TRUSTED_PROXY_HTTPSsecurity.trusted_proxy_httpsfalse

Variables without an env() call in config/opconsole.php (route name prefix, domain, Gate names, authorization.action_gates, checks, health.*, notifications.*, layout, back_url/back_label) are configured directly in the array — there is no corresponding environment variable for them. See the Configuration Reference for those.

Released under the MIT License.