Configure Datalore server
Configure the Datalore server by using various environment variables, which are picked up and evaluated by Datalore once it's started.
The article below describes the available configuration options and how they affect the environment.
Making and applying environment configuration changes
To change the configuration, you need to adjust the environment variables in the Datalore server container. The exact way to do this depends on the deployment method.
Define the environment block within the Docker Compose file used for deployment. The default name of the file is docker-compose.yaml.
Define the dataloreEnv block within the Helm configuration file used for deployment. The default name of the file is datalore.values.yaml.
After making the changes to the file, apply the new configuration and restart the server. For further guidance, see Server lifecycle events.
Generic configuration values
DATALORE_PUBLIC_URLString
Defines a FQDN used to access this instance and the port if it is non-standard.
Default: Not defined
Example:
"https://datalore.yourcompany.com [:port]"GIFT_CODES_ENABLEDBoolean
Defines whether the gift code functionality is enabled.
Default:
falseTCP_KEEP_IDLEInteger, seconds
Refer to Using TCP keepalive under Linux,
tcp_keepalive_timevariable.Default: not defined
TCP_KEEP_INTERVALInteger, seconds
Refer to Using TCP keepalive under Linux,
tcp_keepalive_intvlvariable.Default: not defined
TCP_KEEP_COUNTInteger, seconds
Refer to Using TCP keepalive under Linux,
tcp_keepalive_probesvariable.Default: not defined
DB_USERString
In case of externally managed PostgreSQL database is used, this variable defines the username Datalore server will use to authenticate to its internal PostgreSQL database.
Default: not defined
DB_PASSWORDString
Not defined
In case of an externally managed PostgreSQL database being used, this variable defines the password Datalore server will use to authenticate to its internal PostgreSQL database.
DB_URLString
In case of an externally managed PostgreSQL database being used, this variable defines the JDBC-compliant database connection string.
Default: not defined
DB_MAX_CONNECTION_POOL_SIZEInteger
Maximum size of the internal database connection pool.
Default:
20VFS_MAX_IMPORT_SOURCE_LENGTHInteger
Defines the limit of notebook code import. Specified in bytes. Prefixes (K-, M-, etc) are not supported.
Default: not defined
USER_CONTENT_URLString
Defines a domain for HTML sandboxing. To provide wildcard, just use asterisk sign (*) as the value, and it will be replaced with random iframe ID, that is unique for each HTML output. Example: https://*.dataloreusercontent.com.
Default: not defined
DATABASES_DOCKER_NETWORKString
Defines a Docker network name used to communicate between Datalore and SQL session agents.
Default:
datalore-agents-networkGIT_REPOSITORY_SIZE_LIMITInteger
Defines a Git pull size limit. Specified in megabytes.
Default:
100GIT_BACKUP_FILE_SIZE_LIMITString
Maximum size of a file that can be backed up to a Git repository.
Supports decimal suffixes (
K,M,G,T,Ki,Mi,Gi, andTi). If no suffix is provided, the value is interpreted as bytes.Default:
"10M"
Kubernetes-specific configuration
DATABASES_K8S_NAMESPACEString
Kubernetes namespace where all database connector pods will be spawned.
Default:
defaultGIT_TASK_K8S_NAMESPACEString
Kubernetes namespace where all Git-related task pods will be spawned.
Default:
default
Single sign-on (Hub) configuration
HUB_PUBLIC_BASE_URLString
Public URL of your Hub installation (accessible via browser). Defined as URL, for example: https://hub.example.com/hub).
Default: not defined
HUB_INTERNAL_BASE_URLString
URL for internal (service-to-service) Hub access.
Default:
http://hub:8082/hubHUB_DATALORE_SERVICE_IDString
ID of the Datalore service in Hub.
Default: not defined
HUB_DATALORE_SERVICE_SECRETString
Token of the Datalore service in Hub.
Default: not defined
HUB_FORCE_EMAIL_VERIFICATIONBoolean
Used to specify whether email verification is required from the Datalore user. Set the parameter to
falseif your Datalore instance does not have outgoing mail configured.Default:
trueHUB_ALLOWLIST_GROUPString
By default, all Hub users can get registered unless you disable registration on the Admin panel. Set this variable if you want to grant Datalore access ONLY to members of a certain group. Currently, it is possible to define only one group for this configuration option.
Default: not defined
Outgoing mail configuration
MAIL_SMTP_SERVERString
SMTP server host
Default: not defined
MAIL_SMTP_PORTString
SMTP server port
Default: not defined
MAIL_SMTP_TIMEOUTInteger
Maximum time in ms to wait for a response from the SMTP server after sending a command
Default:
600000(10 minutes)MAIL_SMTP_CONNECTION_TIMEOUTInteger
maximum time in ms to wait when establishing the initial connection to the SMTP server
Default:
600000(10 minutes)MAIL_SENDER_EMAILString
Sender’s email that Datalore will use in the From field
Default: not defined
MAIL_SENDER_NAMEString
Sender’s name
Default: not defined
MAIL_SENDER_USERNAMEString
Username of the SMTP user
Default: not defined
MAIL_SENDER_PASSWORDString
Password of the SMTP user
Default: not defined
MAIL_ENABLE_STARTTLSBoolean
See the
tcp_keepalive_probesvariable in the TCP Keepalive HOWTODefault:
falseFORCE_EMAIL_VERIFICATIONBoolean
Enables verification emails for new users.
If
false, emails of new users are automatically considered verified.Default:
trueEMAIL_ALLOWLIST_ENABLEDBoolean
Restricts new user registrations to emails or domains from the allowlist.
You can manage the email allowlist in the Admin panel.
Default:
false
Monitoring environment variables
METRICS_AUTH_TOKENString
Enables the exporter and defines the authentication token required to collect metrics.
Mutually exclusive with
ENABLE_UNAUTHORIZED_METRICS.Default: not defined
String
Enables the exporter. No authentication will be required to read metrics.
Mutually exclusive with
METRICS_AUTH_TOKEN.Default: not defined
Issue center configuration
ISSUE_CENTER_ENABLEDBoolean
Enables the Issue center for the instance.
Default:
trueISSUE_CENTER_EXPIRATION_DURATIONString
Defines the retention period for issues in the Issue Center. The value is specified as an ISO-8601 duration string (
PnDTnHnMn.nS).Default:
"P30D"(30 days)
AI-specific configuration
GRAZIE_TOKEN_ENDPOINTString
Defines an authentication endpoint used by Datalore AI.
Default:
https://auth.grazie.ai/auth/datalore/provide-accessGRAZIE_API_ENDPOINTString
Defines a model communication endpoint used by Datalore AI.
Default:
https://api.jetbrains.ai
Airgapped operations
DATABASES_COMMAND_IMAGEString
Defines an image used by Datalore to work with databases.
Default:
jetbrains/datalore-database-command:2025.6.1GIT_TASK_IMAGEString
Defines an image used by Datalore to work with Git repositories.
jetbrains/datalore-git-task:2025.6.1
Administrative actions environment variables
ADMIN_API_AUTH_TOKENString
Specifies an administrative token which can be used to authenticate to certain Datalore administrative APIs. For more guidance, see Enable administrative access.
Defaul: not defined
Agent-specific configuration
MAX_HEAP_SIZEString
Defines the memory amount which is allocated to the Datalore's agent control plane.
Default:
512mDATALORE_SKIP_WARMUPString
Defines whether the code completion warmup procedure should be skipped.
Default: not defined
DATALORE_MAX_BLOB_SIZEString
Limits the maximum size of the cell output, specified in bytes.
Default: not defined