Environment variables
By setting environment variables for Neptune DXP - Open Edition, you can tailor system behavior such as security controls, session handling, database connections, storage backends, logging, and background processing, without changing application code.
Most environment variables map directly to system settings. If you also configure
the same setting through the System Settings tool in the Cockpit, those values
take precedence over environment variables. Environment variables are therefore
most useful when you need consistent, automated configuration across environments
(for example, dev/test/prod), or when you want to enforce baseline defaults
that can be overridden via the Cockpit, where appropriate.
Environment variables become relevant in containerized deployments (for example, Docker, Kubernetes), where configuration is typically injected at runtime. In this context, they enable extended configuration checks and controlled manipulation of settings as part of your deployment pipeline, making it easier to validate required values, keep sensitive parameters out of images, and ensure repeatable, environment-specific setups across multiple instances.
Environment variable settings
Each of the following environment variable setting tables is structured to help you quickly understand what you can configure and how each environment variable behaves according to the following data:
- Environment variable
-
The name of the environment variable you can set (including its configuration reference, where applicable).
- Type
-
Indicates what kind of value you can enter (for example, String, Boolean, Array, or a defined set of allowed values).
- Default
-
Shows the default value used when you do not explicitly set the environment variable (where a default is applicable).
- Description
-
Explains what system behavior or setting is affected when the environment variable is configured.
- Valid from
-
Specifies the Neptune DXP - Open Edition version in which the environment variable was first introduced, helping you confirm availability for your deployed version.
Application settings
Use these variables to define the application runtime context (such as environment) and basic instance metadata like name and description.
Application settings table
| Environment variable | Type | Default | Description | Valid from | ||
|---|---|---|---|---|---|---|
|
String |
|
The application description |
2.0.4 |
||
|
String |
|
The initial default password for the
|
2.0.4 |
||
|
String |
|
The application/instance name |
2.0.4 |
||
|
|
|
The application environment
|
2.0.4 |
Node.js settings
As Neptune DXP - Open Edition is written on top of Node.js, you can configure Node.js by setting Node.js CLI environment variables. This can be especially useful when configuring outbound SSL/TLS. The following overview lists a few noteworthy variables. For proper usage, see the official Node.js Documentation.
Node.js settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
When set, the well known "root" CAs (like VeriSign) will be extended with the
extra certificates in |
|
|
String |
Empty string |
When set to |
|
|
String |
Empty string |
If set, Node.js will load the specified OpenSSL config file at startup. |
|
|
String |
Empty string |
Only takes effect if |
|
|
String |
Empty string |
Only takes effect if |
SSL/TLS settings
Configure HTTPS-related settings, including certificates and keys, to control how the application handles encrypted traffic.
You can enable SSL within the Neptune DXP - Open Edition Cockpit. By default,
this is disabled. Set the ENABLE_SSL environment variable to enable SSL and
specify other relevant environment variables.
SSL/TLS settings table
| Environment variable | Type | Default | Description | Valid from | ||
|---|---|---|---|---|---|---|
|
Boolean |
|
Run Neptune DXP - Open Edition in HTTPS mode |
2.0.4 |
||
|
String |
Empty string |
The SSL certificate authority
|
2.0.4 |
||
|
String |
Empty string |
The SSL certificate
|
2.0.4 |
||
|
String |
Empty string |
The SSL private key (sensitive)
|
2.0.4 |
||
|
String |
Empty string |
The SSL passphrase
|
2.0.4 |
Session and authentication settings
Adjust session behavior and sign-in/sign-out handling, including cookie settings and logout propagation to external identity systems.
Session and authentication settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Boolean |
|
Signout from the Cockpit causes signout from external systems (Microsoft Entra ID, OpenID Connect, SAML) |
24.10.0 |
|
Boolean |
|
Signout from the launchpad causes signout from external systems (Microsoft Entra ID, OpenID Connect, SAML) |
24.10.0 |
|
String |
|
Name of the session cookie issued by Neptune DXP - Open Edition. |
24.10.0 |
|
Boolean |
|
When set, no expiry is set on the cookie. Cookie will be removed when all browser windows are closed. |
22.10.0 |
|
String |
Empty string |
Secret used to sign session cookies. If not set, a random secret is generated on first use. |
24.14.1 |
|
Natural number |
|
User session timeout in minutes |
2.0.4 |
Server settings
Control core runtime server behavior such as instance scaling, networking, and internal host resolution.
Server settings table
| Environment variable | Type | Default | Description | Valid from | ||
|---|---|---|---|---|---|---|
|
Natural number |
|
The number of child processes with which Neptune DXP - Open Edition should start up |
2.0.4 |
||
|
IP address |
|
The IP to listen on (not mandatory) |
21.10.2 |
||
|
String |
|
The hostname Neptune DXP - Open Edition uses to call itself |
22.10.7 |
||
|
Port |
|
The port to bind |
2.0.4 |
||
|
Port |
|
The SSL port to bind
|
24.0.0 |
Timeout settings
Tune request timeouts to control how long the system waits before failing slow responses or external calls.
Timeout settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Natural number |
|
Client request timeout (from client to external API endpoints) in seconds. Minimum 5 seconds. |
21.10.2 |
|
Natural number |
|
HTTP response timeout (from Neptune DXP - Open Edition to the client) in seconds |
2.6.0 |
Payload size limits
Set maximum allowed payload sizes to protect the system from oversized requests and to align with your integration requirements.
Payload size limits settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Natural number |
|
Maximum size (in MB) for JSON payloads |
23.10.7 |
|
Natural number |
|
Maximum size (in MB) for plain text payloads |
23.10.7 |
|
Natural number |
|
Maximum size (in MB) for URL-encoded payloads |
23.10.7 |
Server scripts
Configure how server scripts behave at runtime, including logging and restricting visibility of sensitive environment variables.
Server scripts settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
Comma-separated list of environment variable names to hide from server scripts |
24.14.1 |
|
Boolean |
|
If |
22.10.10 |
Security settings
Reinforce the system with security-focused controls such as CSP behavior, framing protection, and account lock messaging.
Security settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Array |
|
The domains allowed to access Neptune DXP - Open Edition |
21.10.2 |
|
Array |
|
The domains allowed to be loaded by Neptune DXP - Open Edition |
21.10.2 |
|
Boolean |
|
Removes |
21.10.2 |
|
Boolean |
|
Enables a strict Content Security Policy |
24.14.0 |
|
|
|
|
21.10.2 |
|
Boolean |
|
Send notification email when account is locked due to too many login attempts |
24.11.0 |
|
Boolean |
|
Show a neutral error message when a locked account is accessed |
24.11.0 |
Proxy settings
Define which destinations can be reached through the proxy and how proxy connections are handled.
Proxy settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Boolean |
|
Enable persistent (keep-alive) connections when proxying requests |
23.10.10 |
|
Boolean |
|
Only allow API, OData, or remote system endpoints when sending requests through the proxy |
23.10.6 |
|
Boolean |
|
Enable persistent (keep-alive) SSL connections when proxying requests through the proxy |
23.10.10 |
|
Array |
|
The domains allowed to proxy |
21.10.2 |
HTTPS hosting
Specify whether the application is hosted behind HTTPS (for example via a reverse proxy), impacting security behavior and URL handling.
HTTPS hosting settings table
| Environment variable | Type | Default | Description | Valid from | ||
|---|---|---|---|---|---|---|
|
Boolean |
|
Whether Neptune DXP - Open Edition is accessed over HTTPS or not
|
21.10.2 |
Database settings
Neptune DXP - Open Edition persists all its state (apps, server Scripts, APIs, etc.) and the majority of its configuration in an underlying database. By default, a Neptune DXP - Open Edition instance initializes (or connects to) an SQLite database.
The SQLite database is initialized within the container. This means that the SQLite database is ephemeral and is deleted on termination of the container. At the time of writing, mounting volume for the SQLite database is not supported, but this support is in the feature pipeline.
| SQLite is only intended for sandbox environments. |
General
Select the database type used by the system and define global database behavior.
General database settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
|
|
The type of database running |
2.0.4 |
MongoDB
Provide MongoDB connection configuration where MongoDB is used as the database back end.
MongoDB settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
N/A |
The URI for the database. If set, other options are ignored. |
2.1.0 |
MSSQL
Define connection and pool settings for Microsoft SQL Server environments.
The target database must have a schema named planet9 (unless configured otherwise)
before connecting a Neptune DXP - Open Edition instance to it. If the database
is empty, Neptune DXP - Open Edition initializes all required tables and data on
startup.
MSSQL settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
|
The name of the database |
2.1.0 |
|
String |
|
Database host name/IP |
2.1.0 |
|
String |
N/A |
The password for the database user (sensitive) |
2.1.0 |
|
Natural number |
|
The maximum number of connections there can be in the pool |
21 |
|
Natural number |
|
The minimum of connections there can be in the pool |
21 |
|
Port |
|
Database port |
2.1.0 |
|
Natural number |
|
Request timeout in seconds |
21.10.2 |
|
String |
|
The database schema name |
2.1.0 |
|
String |
|
The username for the database |
2.1.0 |
PostgreSQL
Provide connection details and tuning options for PostgreSQL deployments.
You can configure your connection string with a single environment variable, using
DB_URI_POSTGRES or you can configure each part of a connection with individual
variables.
The target database must have a schema named planet9 before connecting a
Neptune DXP - Open Edition instance to it. If the database is empty,
Neptune DXP - Open Edition initializes all required tables and data on startup.
PostgreSQL settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
|
The database name |
2.0.4 |
|
String |
|
Database host name/IP |
2.0.4 |
|
String |
Empty string |
The password for the database user (sensitive) |
2.0.4 |
|
Natural number |
|
The pool size of the database connector |
22.10.15 |
|
Port |
|
Database port |
2.0.4 |
|
Natural number |
|
The query timeout in seconds |
23.10.11 |
|
String |
|
Database schema |
24.11.0 |
|
Boolean |
|
Enable SSL mode for the database |
2.0.4 |
|
String |
Empty string |
The username for the database |
2.0.4 |
|
String |
|
The URI for the database. If set, other options are ignored. |
2.0.4 |
Redis (In-Memory Database)
Enable Redis-backed in-memory storage and configure the Redis connection URI.
Redis settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Boolean |
|
Use redis in-memory database |
22.10.0 |
|
String |
Empty string |
The URI for the database |
22.10.0 |
SQLite
Configure file paths for SQLite databases used for core data and custom entities.
SQLite settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
|
Path for the SQLite database with all the entities data |
2.1.0 |
|
String |
|
Path for the SQLite database with which the Neptune DXP - Open Edition instance will initialize (or connect). |
2.1.0 |
Storage settings
GOS (Global Object Storage)
Configure storage for global objects and shared items, including optional cloud-backed storage settings.
GOS settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
Account key |
23.10.2 |
|
String |
Empty string |
Name of the Azure account |
23.10.2 |
|
String |
Empty string |
Container name |
23.10.2 |
|
String |
Empty string |
Folder path to store GOS items |
23.10.2 |
|
|
|
The type of storage to be used for GOS |
23.10.2 |
Media storage
Choose where Media Library files are stored (database, file system, or cloud storage) and configure the required connection details.
Media storage settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
Account key |
23.10.0 |
|
String |
Empty string |
Name of the Azure account |
23.10.0 |
|
String |
Empty string |
Container name |
23.10.0 |
|
String |
Empty string |
Folder path to store media files |
23.10.0 |
|
|
|
The type of storage to be used for the Media Library |
23.10.0 |
Mobile storage
Configure storage for generated mobile builds, including cloud or file-based storage targets.
Mobile storage settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
Account key |
23.10.0 |
|
String |
Empty string |
Name of the Azure account |
23.10.0 |
|
String |
Empty string |
Container name |
23.10.0 |
|
String |
Empty string |
Folder path to store mobile builds |
23.10.0 |
|
|
|
The type of storage to be used for mobile builds |
23.10.0 |
PDF storage
Control where generated PDFs are stored and how the storage back end is accessed.
PDF storage settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
Account key |
23.10.0 |
|
String |
Empty string |
Name of the Azure account |
23.10.0 |
|
String |
Empty string |
Container name |
23.10.0 |
|
String |
Empty string |
Folder path to store PDFs |
23.10.0 |
|
|
|
The type of storage to be used for PDFs |
23.10.0 |
Background jobs
Control how frequently background processing runs, which affects scheduled tasks and asynchronous workloads.
Background jobs settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Natural number |
|
How often the engine should check to see if there are any jobs to run (in seconds) |
2.0.4 |
Monitoring and logging
Configure logging behavior and operational telemetry to support diagnostics, auditing, and observability.
Monitoring and logging settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Boolean |
|
Disable audit log |
22.10.4 |
|
Boolean |
|
If |
24.12.1 |
|
Boolean |
|
Log all requests to |
21.10.2 |
Prometheus metrics
Enable and expose Prometheus metrics endpoints to integrate with monitoring and alerting systems.
Prometheus metrics settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Boolean |
|
Log all requests in the Prometheus format |
24.11.0 |
|
Boolean |
|
Expose the |
24.11.0 |
|
Number |
|
The port the main Prometheus process listens to |
24.11.0 |
Development and package settings
Apply development-time safeguards and enforcement rules for development packages, artifacts, and database updates.
Development and package settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Boolean |
|
Require development package for all artifacts |
24.11.0 |
|
Boolean |
|
Require role for all tables |
24.14.0 |
|
Boolean |
|
Restricts the update database from repository on development packages |
24.10.0 |
|
Boolean |
|
Do not import internal development package data on startup |
24.11.0 |
AI Integration
Configure API keys and integration settings used by AI-enabled functionality.
AI integration settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
Exa API for WebSearch (sensitive) |
24.14.0 |
Cloud and tenant settings
Define cloud tenant identifiers and environment-specific cloud configuration values.
Cloud and tenant settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
String |
Empty string |
Tenant UUID on Neptune DXP Cloud |
24.12.0 |
Configuration management
Control whether configuration changes can be persisted and which sensitive config paths should be excluded from saved configuration.
Configuration management settings table
| Environment variable | Type | Default | Description | Valid from |
|---|---|---|---|---|
|
Boolean |
|
When set to |
24.14.0 |
|
String |
|
Hide config parameters from file and database that can be set with environment
variables. Accepts a comma-delimited list of parameters, for example |
22.10.0 |