Enterprise Server Variables
Core Variables
PROTOCOL
https
PORT
80
BASE_URL
' / {protocol}://api.{domain}
Empty string for config.baseUrl; the api host pattern for apiHost
PROJECT
formio
PROJECT_PLAN
commercial
DEBUG
FALSE
ENABLE_SSL, SSL_KEY, SSL_CERT
FALSE
Key/cert accept a file path or a literal value
MAX_BODY_SIZE
25mb
KEEP_ALIVE_TIMEOUT
unset
HSTS_MAX_AGE
31536000
Set to 0 to disable HSTS entirely
HSTS_INCLUDE_SUB_DOMAINS, HSTS_PRELOAD
TRUE
DEBUG_CONFIG_VARS
https,domain,port,host,project,plan,formioHost,apiHost,debug,docker
Which config keys the debug logger prints
Database Variables
MONGO
mongodb://localhost:27017/{MONGO_COLLECTION}
mongodb://mongo:27017/... when running in Docker
MONGO1
unset
LEGACY backward-compat alias for MONGO
MONGO_COLLECTION
formio
MONGO_PORT_27017_TCP_ADDR, MONGO_PORT_27017_TCP_PORT
unset (mongo / 27017)
LEGACY Docker v1 container-linking convention
MONGO_SA, MONGO_CA, MONGO_SSL, MONGO_SSL_VALIDATE, MONGO_SSL_PASSWORD, MONGO_CONFIG
unset
Only applied when provided
DB_SECRET
abc123
Encrypts settings at rest — change in production
DB_SECRET_OLD
FALSE
For secret rotation
Authorization & Security Variables
JWT_SECRET
abc123
Change in production
JWT_EXPIRE_TIME
240
Minutes
SESSION_EXPIRE_TIME
'
PORTAL_SECRET
'
Remote secret
PORTAL_SSO, PORTAL_SSO_LOGOUT
'
SSO_TEAMS
FALSE
Forced on if PORTAL_SSO is set
2FA_TIMEOUT
15
Minutes
OAUTH_M2M_ENABLED
FALSE
NOAUDITLOG
unset
Audit logging is on by default
FILTER_ACCESS
TRUE
ONLY_PRIMARY_WRITE_ACCESS
FALSE
ENABLE_RESTRICTIONS
FALSE
Plan limits enforcement (src/plans/index.js)
ADMIN_KEY
unset
Enables the x-admin-key header bypass; read by both the enterprise layer and OSS tokenHandler
API_KEYS
unset
Comma-separated list of project-independent API keys (OSS tokenHandler.js)
SAML_PASSPORT_PRIVATE_KEY_PATH, SAML_PASSPORT_DECRYPTION_PVK_PATH
null
Read in src/saml/
MAX_PASSWORD_LENGTH
200
Reset Password action (OSS src/actions/ResetPassword.js)
License Variables
Variable
Default
Notes
LICENSE_KEY
unset
Required for enterprise features
LICENSE_SERVER
https://license.form.io
LICENSE_REMOTE
false
SKIP_FORM_LICENSING
unset
CACHE_TIME
900
Seconds (15 min) — license utilization cache (src/util/utilization.js); also the fallback for PROJECT_CACHE_TIME_SECONDS
USAGE_CACHE_TTL
60
src/usage/UsageTracking.js
PDF Variables
Variable
Default
Notes
PDF_SERVER
unset
FORMIO_FILES_SERVER
unset
LEGACY older alias for PDF_SERVER
FORMIO_PDF_PROJECT
https://pdf.form.io
FORMIO_PDF_APIKEY
unset
VM & Performance Variables
Variable
Default
Notes
FORMIO_VM_TIMEOUT
500
ms
FORMIO_VM_MEMORY_LIMIT_MB
unset
Falls back to isolated-vm's own default
FORMIO_NEXTGEN_RENDER_CONCURRENCY
8
FORMIO_NEXTGEN_RENDER_POOL_SIZE
1
FORMIO_ENCAPSULATED_EVALUATION_THRESHOLD
2
MAX_BULK_SUBMISSIONS
1000
REPORT_MAX_TIME_MS
unset
No limit by default
PROJECT_CACHE_TIME_SECONDS
900
Falls back to CACHE_TIME
PROJECT_CACHE_CHECK_PERIOD_SECONDS
60
PROJECT_CACHE_POLL_INTERVAL_MS
5000
NODE_OPTIONS
—
Parsed only to detect --max_old_space_size
PERFORMANCE_TIMER
unset
Enables timing logs in OSS lastModifiedIndexHandler
Feature flags
Variable
Default
Enables
FORMIO_BULK_SUBMISSIONS
false
Bulk submissions endpoints
FORMIO_FEATURE_ENCAPSULATED_EVALUATION
false
Single encapsulated VM sweep for heavy-form custom JS
USE_NEXTGEN_VALIDATOR
false
@formio/nextgen validation engine instead of legacy @formio/core; the OSS layer also reads it directly as a fallback when the enterprise hook is absent
FORMIO_FEATURE_EXAMPLE
false
Testing only — do not use in production
FF_FORBID_DUPLICATED_DATA_PATH
unset
OSS-only (src/models/Form.js): validates duplicate component paths by dataPath instead of fullPath
Email (OSS layer)
Variable
Default
Notes
DEFAULT_TRANSPORT
unset
Default email transport; the enterprise layer applies it for non-hosted deployments (src/hooks/settings.js)
DEFAULT_EMAIL_SOURCE
no-reply@example.com
Default from-address
EMAIL_OVERRIDE
unset
Redirects all outgoing email (JSON transport config) — testing/staging
EMAIL_CHUNK_SIZE
100
Batch size when sending to many recipients
RENDER_METHOD
static
Email template render method; falls back to the form's renderingMethod setting
SENDGRID_USERNAME, SENDGRID_PASSWORD
unset
Setting the password switches the default email transport to sendgrid
OSS formio layer — other
Variable
Default
Notes
CAPTURE_IP_ADDRESS
false
true/1 stores the submitter's IP in submission metadata (submissionHandler.js)
PUBLIC_CONFIG
unset
JSON object merged into the public /config.json response (configHandler.js)
FORMIO_EXTENSIONS_PATH
/app/extensions.js
Path to an optional extensions module loaded at boot (src/util/loadExtensions.js)
Integrations & misc
Variable
Default
Notes
DROPBOX_CLIENTID, DROPBOX_CLIENTSECRET
''
Dropbox storage provider (src/storage/dropbox.js)
CRM
unset
Enables the custom CRM action proxy
ESIGN_PRIVATE_KEY_FILE
unset
TEMPLATE_SERVICE
''
External template worker (src/hooks/alter/worker.js)
WHITELABEL
unset (false)
Requires the license whitelabel option too
VPAT
false
Requires the license vpat option too
VERBOSE_HEALTH
unset
PRIMARY, PORTAL_ENABLED
unset
Either being truthy (not 'false') makes this the primary/portal-serving instance and triggers install/default-project bootstrap
ADMIN_EMAIL / ADMIN_PASS
admin@example.com / p@ssw0rd!
Initial install admin (src/util/install.js)
Last updated
Was this helpful?
