ToolJet/docs/versioned_docs/version-3.16.0-LTS/setup/configuration/env-vars.md

386 lines
15 KiB
Markdown
Raw Normal View History

2025-08-04 06:49:49 +00:00
---
id: env-vars
2025-08-08 04:52:16 +00:00
title: Environment Variables
2026-02-16 10:35:23 +00:00
slug: /setup/env-vars/
2025-08-04 06:49:49 +00:00
---
2025-08-08 04:52:16 +00:00
ToolJet requires several environment variables to function properly. Below is a simplified guide to setting them up.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
## ToolJet Server
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
### Required Variables
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### ToolJet Host
2025-08-04 06:49:49 +00:00
2025-11-24 05:02:41 +00:00
- `TOOLJET_HOST`: Public URL of ToolJet (e.g., `https://app.tooljet.com`)
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Lockbox Configuration
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `LOCKBOX_MASTER_KEY`: 32-byte hex string for encrypting datasource credentials
- Generate using: `openssl rand -hex 32`
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Application Secret
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `SECRET_KEY_BASE`: 64-byte hex string for encrypting session cookies
- Generate using: `openssl rand -hex 64`
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Database Configuration
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `PG_HOST`: PostgreSQL database host
- `PG_DB`: Database name
- `PG_USER`: Username
- `PG_PASS`: Password
- `PG_PORT`: Port
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
**Docker Compose Setup:** If you are using a Docker Compose setup with an in-built PostgreSQL instance, set `PG_HOST` to `postgres`. This ensures that Docker's internal DNS resolves the hostname correctly, allowing the ToolJet server to connect to the database seamlessly.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
**Database Connection URL:** If you intend to use the database connection URL and your database does not support SSL, use the following format when setting the `DATABASE_URL` variable:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
```
DATABASE_URL=postgres://PG_USER:PG_PASS@PG_HOST:5432/PG_DB?sslmode=disable
```
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
Replace `username`, `password`, `hostname`, `port`, and `database_name` with your actual database details.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Disabling Automatic Database & Extension Creation (Optional)
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `PG_DB_OWNER=false`: ToolJet by default tries to create database based on `PG_DB` variable set and additionally my try to create postgres extensions. This requires the postgres user to have `CREATEDB` permission. If this cannot be granted you can disable this behaviour by setting `PG_DB_OWNER` as `false` and will have to manually run them.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### ToolJet Database
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `TOOLJET_DB`: Default database name (`tooljet_db`)
- `TOOLJET_DB_HOST`: Database host
- `TOOLJET_DB_USER`: Database username
- `TOOLJET_DB_PASS`: Database password
- `TOOLJET_DB_PORT`: Database port
Enhance ToolJet deployment documentation for version 3.16.0-LTS (#14896) * Enhance ToolJet deployment documentation for version 3.16.0-LTS - Updated Google Cloud Run setup to clarify architecture and environment variables. - Improved Kubernetes setup documentation for AKS, EKS, GKE, and general Kubernetes, emphasizing the need for two separate PostgreSQL databases. - Revised OpenShift deployment instructions to include detailed environment variable configurations and deployment steps. - Added system requirements for PostgreSQL and Redis, specifying recommended versions and minimum specifications. - Included warnings about database naming conflicts and critical configurations for successful deployment. * Enhance upgrade documentation for ToolJet LTS version - Added critical backup reminder for PostgreSQL instance before upgrading. - Clarified database requirements, emphasizing the need for two separate database names (PG_DB and TOOLJET_DB). - Included deployment flexibility options for database hosting. - Updated installation notes to specify that the upgrade guide is only for existing installations. - Improved formatting and clarity in various setup guides (Azure, DigitalOcean, Docker, ECS, Google Cloud Run, Kubernetes, OpenShift). * Enhance deployment documentation for ToolJet on various platforms, including AWS AMI, Azure Container Apps, AWS ECS, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and Openshift. Updated warnings and notes regarding PostgreSQL database setup and ToolJet AI features. * Enhance deployment documentation for ToolJet LTS version 3.16.0 by updating backup instructions, removing redundant version requirements, and clarifying Redis configuration for external instances. * Refine deployment documentation for ToolJet by removing redundant environment variable references and adding notes on securing Redis passwords across various platforms including AWS AMI, Docker, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and OpenShift. * Refine Redis configuration instructions in AWS AMI deployment documentation for clarity and formatting consistency. * Add new environment variables for bulk upload limits in deployment documentation * Refine deployment documentation for ToolJet subpath installation by improving environment variable formatting and clarifying upgrade prerequisites. * Update PostgreSQL database links in deployment documentation for consistency across ECS, Helm, Kubernetes (AKS, EKS, GKE), and OpenShift setups. * Remove warning about whitelisting ToolJet AI features from Helm deployment documentation * Refine environment variable configuration for workflow scheduling in Helm deployment documentation * formatting updates till gke * final formatting updates --------- Co-authored-by: rudrapratik30 <pratik104agrawal@gmail.com>
2026-01-16 08:40:34 +00:00
- `TOOLJET_DB_BULK_UPLOAD_MAX_ROWS`: Maximum number of rows allowed in bulk upload (default: 5000)
- `TOOLJET_DB_BULK_UPLOAD_MAX_CSV_FILE_SIZE_MB`: Maximum file size of CSV for bulk upload. Default value is 5 MB
2025-08-08 04:52:16 +00:00
#### Why ToolJet Requires Two Databases
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
ToolJet requires two separate databases for optimal functionality. **TOOLJET_DB** is used to store the platform's internal metadata, including tables created within ToolJet. On the other hand, **PG_DB** acts as the primary database for application data, handling end-user data managed by the apps built on ToolJet.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
**Automatic Database Creation:** The database name specified in `TOOLJET_DB` will be automatically created during the server boot process in all production deployment setups.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### PostgREST
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
ToolJet uses **PostgREST (v12.2.0)** for API access. The following environment variables are required for PostgREST:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `PGRST_JWT_SECRET`: JWT secret (Generate using `openssl rand -hex 32`). If this parameter is not specified, PostgREST will refuse authentication requests.
- `PGRST_DB_URI`: Database connection string
- `PGRST_LOG_LEVEL=info`
- `PGRST_DB_PRE_CONFIG=postgrest.pre_config`
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
If you intent to make changes in the above configuration. Please refer [PostgREST configuration docs](https://postgrest.org/en/stable/configuration.html#environment-variables).
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Configuring PGRST_DB_URI
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
`PGRST_DB_URI` is required for PostgREST, which is responsible for exposing the database as a REST API. It must be explicitly set to ensure proper functionality.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
This follows the format:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
```
PGRST_DB_URI=postgres://TOOLJET_DB_USER:TOOLJET_DB_PASS@TOOLJET_DB_HOST:5432/TOOLJET_DB
```
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
Ensure that:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `username` and `password` match the credentials for the PostgREST database user.
- `hostname` is correctly set (`postgres` if using Docker Compose setup with an in-built PostgreSQL).
- `port` is the PostgreSQL port (default: `5432`).
- `database_name` is the database used for PostgREST (`tooljet_db` in this example).
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Redis Configuration
2025-08-04 06:49:49 +00:00
Enhance ToolJet deployment documentation for version 3.16.0-LTS (#14896) * Enhance ToolJet deployment documentation for version 3.16.0-LTS - Updated Google Cloud Run setup to clarify architecture and environment variables. - Improved Kubernetes setup documentation for AKS, EKS, GKE, and general Kubernetes, emphasizing the need for two separate PostgreSQL databases. - Revised OpenShift deployment instructions to include detailed environment variable configurations and deployment steps. - Added system requirements for PostgreSQL and Redis, specifying recommended versions and minimum specifications. - Included warnings about database naming conflicts and critical configurations for successful deployment. * Enhance upgrade documentation for ToolJet LTS version - Added critical backup reminder for PostgreSQL instance before upgrading. - Clarified database requirements, emphasizing the need for two separate database names (PG_DB and TOOLJET_DB). - Included deployment flexibility options for database hosting. - Updated installation notes to specify that the upgrade guide is only for existing installations. - Improved formatting and clarity in various setup guides (Azure, DigitalOcean, Docker, ECS, Google Cloud Run, Kubernetes, OpenShift). * Enhance deployment documentation for ToolJet on various platforms, including AWS AMI, Azure Container Apps, AWS ECS, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and Openshift. Updated warnings and notes regarding PostgreSQL database setup and ToolJet AI features. * Enhance deployment documentation for ToolJet LTS version 3.16.0 by updating backup instructions, removing redundant version requirements, and clarifying Redis configuration for external instances. * Refine deployment documentation for ToolJet by removing redundant environment variable references and adding notes on securing Redis passwords across various platforms including AWS AMI, Docker, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and OpenShift. * Refine Redis configuration instructions in AWS AMI deployment documentation for clarity and formatting consistency. * Add new environment variables for bulk upload limits in deployment documentation * Refine deployment documentation for ToolJet subpath installation by improving environment variable formatting and clarifying upgrade prerequisites. * Update PostgreSQL database links in deployment documentation for consistency across ECS, Helm, Kubernetes (AKS, EKS, GKE), and OpenShift setups. * Remove warning about whitelisting ToolJet AI features from Helm deployment documentation * Refine environment variable configuration for workflow scheduling in Helm deployment documentation * formatting updates till gke * final formatting updates --------- Co-authored-by: rudrapratik30 <pratik104agrawal@gmail.com>
2026-01-16 08:40:34 +00:00
Include the following Redis environment variables within the ToolJet deployment only if you are connecting to an external **Redis instance (v7.x recommended)** for a multi-service or multi-pod setup, or when running workflows with separate worker containers.
2025-08-04 06:49:49 +00:00
**Required Variables:**
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
```
REDIS_HOST=
REDIS_PORT=
```
**Optional Variables:**
2025-11-24 05:02:41 +00:00
```
2025-08-08 04:52:16 +00:00
REDIS_USER=
REDIS_PASSWORD=
REDIS_DB=0 # Redis database number (default: 0)
REDIS_TLS=false # Enable TLS/SSL connection (set to 'true')
2025-08-08 04:52:16 +00:00
```
2025-08-04 06:49:49 +00:00
:::info
**For Workflows:** When running separate worker containers or multiple instances for workflow scheduling, an external Redis instance is **required** for job queue coordination. The built-in Redis only works for single instance deployments.
:::
#### Workflow Scheduling
ToolJet Workflows allows you to design and execute complex, data-centric automations using a visual, node-based interface. Configure the following environment variables to enable workflow scheduling:
**Required Variables:**
2025-11-24 05:02:41 +00:00
- `WORKER`: Set to `true` to enable job processing for workflow scheduling. Set to `false` or leave unset for HTTP-only mode (default: `false`)
**Optional Variables:**
2025-11-24 05:02:41 +00:00
- `TOOLJET_WORKFLOW_CONCURRENCY`: Number of workflow jobs processed concurrently per worker instance (default: `5`)
:::warning
**External Redis Requirement**: When running separate worker containers or multiple instances, an external stateful Redis instance is **required** for job queue coordination. The built-in Redis only works when the server and worker are in the same container instance (single instance deployment).
:::
2026-02-18 05:10:00 +00:00
For detailed workflow configuration and deployment examples, refer to the [Workflow Migration Guide](/docs/setup/workflow-temporal-to-bullmq-migration/).
2025-08-08 04:52:16 +00:00
### Optional Configurations
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Comments Feature
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `COMMENT_FEATURE_ENABLE=true/false`: Use this environment variable to enable/disable the feature that allows you to add comments on the canvas. To configure this environment variable, ensure that multiplayer editing is enabled in the Settings.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### User Session Expiry
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `USER_SESSION_EXPIRY`: Controls session expiry time (in minutes). Default: **10 days**.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
Note: The variable expects the value in minutes. ex: USER_SESSION_EXPIRY = 120 which is 2 hours
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Password Retry Limit
2025-08-04 06:49:49 +00:00
2025-11-24 05:02:41 +00:00
By default, an account is locked after 5 failed login attempts. You can control this with:
- `DISABLE_PASSWORD_RETRY_LIMIT=true`: Disables the retry limit.
2025-08-08 04:52:16 +00:00
- `PASSWORD_RETRY_LIMIT=<number>`: Sets a custom retry limit (default is 5).
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Hide Account Setup Link
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `HIDE_ACCOUNT_SETUP_LINK`: Set to `true` to hide the account setup link from the admin in the manage user page. Ensure SMTP is configured to send welcome emails.
2025-08-04 06:49:49 +00:00
2025-11-24 05:02:41 +00:00
#### Restrict Signups
2025-08-08 04:52:16 +00:00
Set `DISABLE_SIGNUPS=true` to allow only invited users to sign up. The signup page will still be visible but unusable.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### SMTP Configuration
2025-11-24 05:02:41 +00:00
ToolJet sends emails via SMTP.
2025-08-04 06:49:49 +00:00
:::info
2025-08-08 04:52:16 +00:00
If you have upgraded from a version prior to v2.62.0, the SMTP variables in your .env file will automatically be mapped to the UI. For versions v2.62.0 and later, SMTP configuration will no longer be picked up from the .env file for Enterprise Edition. You must configure SMTP through the UI. You can safely remove these variables from your .env file after ensuring that the configuration is properly set up in the UI.
2025-08-04 06:49:49 +00:00
:::
2025-08-08 04:52:16 +00:00
For **Enterprise Edition**, configure SMTP in the ToolJet Settings UI.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
For **Community Edition**, use these environment variables:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `DEFAULT_FROM_EMAIL`: Sender email address
- `SMTP_USERNAME`: SMTP username
- `SMTP_PASSWORD`: SMTP password
- `SMTP_DOMAIN`: SMTP host
- `SMTP_PORT`: SMTP port
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Custom CA Certificate
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
If ToolJet needs to connect to self-signed HTTPS endpoints, ensure the `NODE_EXTRA_CA_CERTS` environment variable is set to the absolute path of the CA certificate file.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `NODE_EXTRA_CA_CERTS=/path/to/cert.pem`: Absolute path to the PEM file (can contain multiple certificates).
2025-08-04 06:49:49 +00:00
2025-09-12 07:12:28 +00:00
#### ToolJet API Import Application
2025-11-24 05:02:41 +00:00
By default, server accepts maximum JSON size as 50 MB. To increase this limit, use the following environment variable:
2025-09-12 07:12:28 +00:00
- `MAX_JSON_SIZE = "150mb"`
2025-09-24 08:38:51 +00:00
#### Customizing Workflow Configuration
You can control workflow execution behavior using the following environment variables:
| Variable | Description | Default | Unit |
|-----------|-------------|---------|-------|
| `WORKFLOW_TIMEOUT_SECONDS` | Maximum duration a workflow execution can run before timing out. | 60 | seconds |
2026-03-05 06:04:52 +00:00
| `WORKFLOW_JS_MEMORY_LIMIT_MB` | Maximum memory limit allocated to each `runjs` or `loop` node during execution. | 20 | MB |
2025-09-24 08:38:51 +00:00
| `WORKFLOW_JS_TIMEOUT` | Maximum time allowed for each `runjs` or `loop` node execution. | 100 | milliseconds |
#### Configuring Non Email Identifier for ToolJet OIDC
2026-02-18 05:10:00 +00:00
You can setup OIDC using non email identifier for authenticating users to ToolJet (for example, an employee ID) by setting the following environment variables.
2026-02-18 05:10:00 +00:00
| Variable | Description |
| ------------------------- | ---------------------------------------------------------- |
| `SSO_UNIQUE_ID_FIELD` | Unique identifier field name sent back by the IdP. |
| `SSO_CUSTOM_EMAIL_DOMAIN` | Domain name that will be used to construct dummy email id. |
2026-02-18 05:10:00 +00:00
To learn more, refer to [this section](/docs/user-management/sso/oidc/setup#configuring-tooljet-oidc-with-non-email-identifier).
#### Configure Stronger Password Validation Rules
2026-02-18 05:10:00 +00:00
ToolJet allows you to enforce a stronger password complexity rule. By default, the login password should be atleast 5 characters long and any character can be used. To enforce stronger password validation, use the following environment variable:
- `ENABLE_PASSWORD_COMPLEXITY_RULES = true`
When **false**, passwords will follow the default validations. When **true**, passwords must meet all the following rules:
| Rule | Requirement |
|-----------|-------------|
2026-02-18 05:10:00 +00:00
| Password length | 12-24 characters |
| Uppercase letters | A-Z |
| Lowercase letters | a-z |
| Numbers | 0-9 |
2026-02-18 05:10:00 +00:00
| Special characters | ! @ # $ % ^ & \* ( ) \_ + - = \{ \} [ ] : ; ” ' , . ? / \ \| |
:::info
These validations apply to both the instance and workspace levels.
:::
2026-02-18 05:10:00 +00:00
2025-08-08 04:52:16 +00:00
### Third-Party Integrations
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Slack
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
To use Slack as a data source in ToolJet, create a Slack app and set:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `SLACK_CLIENT_ID`: Slack app client ID
- `SLACK_CLIENT_SECRET`: Slack app client secret
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Google OAuth
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
To connect ToolJet with Google services like Google Sheets, create OAuth credentials in Google Cloud Console.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `GOOGLE_CLIENT_ID`: Google OAuth client ID
- `GOOGLE_CLIENT_SECRET`: Google OAuth client secret
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Google Maps API
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
To use the Maps widget in ToolJet, create a Google Maps API key and set:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `GOOGLE_MAPS_API_KEY`: Google Maps API key
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Application Monitoring (APM)
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `APM_VENDOR=sentry`: Set APM vendor.
- `SENTRY_DNS`: Sentry project DSN.
- `SENTRY_DEBUG=true/false`: Enable/disable Sentry debugging.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Security & Authentication
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
By default, ToolJet sends user count updates every 24 hours. To disable this, use:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `DISABLE_TOOLJET_TELEMETRY=true`: Disables telemetry.(Enabled by default)
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Single Sign-On (SSO)
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
Enable Google or GitHub SSO with these environment variables:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
**Google SSO:**
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `SSO_GOOGLE_OAUTH2_CLIENT_ID`: Google OAuth client ID
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
**GitHub SSO:**
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `SSO_GIT_OAUTH2_CLIENT_ID`: GitHub OAuth client ID
- `SSO_GIT_OAUTH2_CLIENT_SECRET`: GitHub OAuth client secret
- `SSO_GIT_OAUTH2_HOST`: GitHub host if self-hosted
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
**General SSO Settings:**
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `SSO_ACCEPTED_DOMAINS`: Comma-separated list of allowed email domains
- `SSO_DISABLE_SIGNUPS=true`: Restricts signups to existing users
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Group Synchronization
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
If any of the following environment variables are set to true, group synchronization will be skipped during the login process for the respective SSO provider:
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `DISABLE_LDAP_GROUP_SYNC=true` Disables group sync for LDAP during login.
- `DISABLE_SAML_GROUP_SYNC=true` Disables group sync for SAML during login.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### REST API Cookie Forwarding
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
By default, ToolJet does not forward cookies with REST API requests. To enable this (self-hosted only), set:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `FORWARD_RESTAPI_COOKIES=true`: Allows forwarding cookies with REST API requests.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Asset Path
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
This is required when the assets for the client are to be loaded from elsewhere (eg: CDN). This can be an absolute path, or relative to main HTML file.
2025-08-04 06:49:49 +00:00
2025-11-24 05:02:41 +00:00
- `ASSET_PATH`: Path for loading frontend assets (e.g., `https://app.tooljet.com/`)
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
## Additional Configurations
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Log File Path
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
- `LOG_FILE_PATH`: Path to store audit logs (e.g., `tooljet/log/tooljet-audit.log`)
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Embedding Private Apps
2025-11-24 05:02:41 +00:00
2025-08-08 04:52:16 +00:00
By default, only public apps can be embedded. To allow embedding of private ToolJet apps, set:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
- `ENABLE_PRIVATE_APP_EMBED=true/false`: Allows embedding of private ToolJet apps.
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
**Note: Available in ToolJet Enterprise 2.8.0+ and Community/Cloud 2.10.0+.**
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
#### Default Language
2025-08-04 06:49:49 +00:00
2025-11-24 05:02:41 +00:00
Set the default language using the `LANGUAGE` variable. Supported options:
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
<div style={{ display: 'flex' }} >
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
<div style = {{ width:'40%' }} >
2025-08-04 06:49:49 +00:00
2025-11-24 05:02:41 +00:00
| Language | Code | Native Name |
| -------- | ---- | ----------- |
| English | en | English |
| French | fr | Français |
| Spanish | es | Español |
| Italian | it | Italiano |
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
</div>
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
<div style = {{ width:'5%' }} > </div>
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
<div style = {{ width:'50%' }} >
2025-08-04 06:49:49 +00:00
2025-11-24 05:02:41 +00:00
| Language | Code | Native Name |
| ---------- | ---- | ---------------- |
| Indonesian | id | Bahasa Indonesia |
| Ukrainian | uk | Українська |
| Russian | ru | Русский |
| German | de | Deutsch |
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
</div>
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
</div>
2025-08-04 06:49:49 +00:00
2025-08-08 04:52:16 +00:00
Example: `LANGUAGE=fr` (for French).
2025-08-04 06:49:49 +00:00
**Note:** This setting is not available in ToolJet Cloud.
#### Observability
ToolJet supports OpenTelemetry (OTEL) for comprehensive observability and monitoring. Enable metrics collection to monitor application performance, query executions, and system health.
**Basic Configuration:**
2025-11-24 05:02:41 +00:00
- `ENABLE_OTEL`: Set to `true` to enable OpenTelemetry metrics collection (default: `false`)
- `OTEL_EXPORTER_OTLP_TRACES`: OTLP traces endpoint URL (default: `http://localhost:4318/v1/traces`)
- `OTEL_EXPORTER_OTLP_METRICS`: OTLP metrics endpoint URL (default: `http://localhost:4318/v1/metrics`)
- `OTEL_SERVICE_NAME`: Service identifier for metrics (default: `tooljet`)
- `OTEL_EXPORTER_OTLP_HEADERS`: Authentication headers for OTLP endpoint (optional, format: `key1=value1,key2=value2`)
**Advanced Configuration:**
2025-11-24 05:02:41 +00:00
- `OTEL_LOG_LEVEL`: Debug logging level for OTEL (use `debug` for detailed logs)
- `OTEL_ACTIVE_USER_WINDOW_MINUTES`: Activity window for concurrent user tracking in minutes (default: `5`)
- `OTEL_MAX_TRACKED_USERS`: Maximum number of tracked users/sessions (default: `10000`)
- `OTEL_INCLUDE_QUERY_TEXT`: Include actual query text in metrics - **WARNING:** Creates high cardinality (default: `false`)
:::warning High Cardinality
Only enable `OTEL_INCLUDE_QUERY_TEXT=true` for debugging. This creates high cardinality metrics that can impact Prometheus performance. Use an OTEL Collector to filter this label in production.
:::
2026-02-12 05:40:46 +00:00
For comprehensive setup instructions, metrics details, and Grafana dashboard integration, see the [OpenTelemetry Observability](/docs/tj-setup/observability/observability-otel) documentation.
Enhance ToolJet deployment documentation for version 3.16.0-LTS (#14896) * Enhance ToolJet deployment documentation for version 3.16.0-LTS - Updated Google Cloud Run setup to clarify architecture and environment variables. - Improved Kubernetes setup documentation for AKS, EKS, GKE, and general Kubernetes, emphasizing the need for two separate PostgreSQL databases. - Revised OpenShift deployment instructions to include detailed environment variable configurations and deployment steps. - Added system requirements for PostgreSQL and Redis, specifying recommended versions and minimum specifications. - Included warnings about database naming conflicts and critical configurations for successful deployment. * Enhance upgrade documentation for ToolJet LTS version - Added critical backup reminder for PostgreSQL instance before upgrading. - Clarified database requirements, emphasizing the need for two separate database names (PG_DB and TOOLJET_DB). - Included deployment flexibility options for database hosting. - Updated installation notes to specify that the upgrade guide is only for existing installations. - Improved formatting and clarity in various setup guides (Azure, DigitalOcean, Docker, ECS, Google Cloud Run, Kubernetes, OpenShift). * Enhance deployment documentation for ToolJet on various platforms, including AWS AMI, Azure Container Apps, AWS ECS, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and Openshift. Updated warnings and notes regarding PostgreSQL database setup and ToolJet AI features. * Enhance deployment documentation for ToolJet LTS version 3.16.0 by updating backup instructions, removing redundant version requirements, and clarifying Redis configuration for external instances. * Refine deployment documentation for ToolJet by removing redundant environment variable references and adding notes on securing Redis passwords across various platforms including AWS AMI, Docker, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and OpenShift. * Refine Redis configuration instructions in AWS AMI deployment documentation for clarity and formatting consistency. * Add new environment variables for bulk upload limits in deployment documentation * Refine deployment documentation for ToolJet subpath installation by improving environment variable formatting and clarifying upgrade prerequisites. * Update PostgreSQL database links in deployment documentation for consistency across ECS, Helm, Kubernetes (AKS, EKS, GKE), and OpenShift setups. * Remove warning about whitelisting ToolJet AI features from Helm deployment documentation * Refine environment variable configuration for workflow scheduling in Helm deployment documentation * formatting updates till gke * final formatting updates --------- Co-authored-by: rudrapratik30 <pratik104agrawal@gmail.com>
2026-01-16 08:40:34 +00:00
2026-02-18 05:10:00 +00:00
## <br/>
Enhance ToolJet deployment documentation for version 3.16.0-LTS (#14896) * Enhance ToolJet deployment documentation for version 3.16.0-LTS - Updated Google Cloud Run setup to clarify architecture and environment variables. - Improved Kubernetes setup documentation for AKS, EKS, GKE, and general Kubernetes, emphasizing the need for two separate PostgreSQL databases. - Revised OpenShift deployment instructions to include detailed environment variable configurations and deployment steps. - Added system requirements for PostgreSQL and Redis, specifying recommended versions and minimum specifications. - Included warnings about database naming conflicts and critical configurations for successful deployment. * Enhance upgrade documentation for ToolJet LTS version - Added critical backup reminder for PostgreSQL instance before upgrading. - Clarified database requirements, emphasizing the need for two separate database names (PG_DB and TOOLJET_DB). - Included deployment flexibility options for database hosting. - Updated installation notes to specify that the upgrade guide is only for existing installations. - Improved formatting and clarity in various setup guides (Azure, DigitalOcean, Docker, ECS, Google Cloud Run, Kubernetes, OpenShift). * Enhance deployment documentation for ToolJet on various platforms, including AWS AMI, Azure Container Apps, AWS ECS, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and Openshift. Updated warnings and notes regarding PostgreSQL database setup and ToolJet AI features. * Enhance deployment documentation for ToolJet LTS version 3.16.0 by updating backup instructions, removing redundant version requirements, and clarifying Redis configuration for external instances. * Refine deployment documentation for ToolJet by removing redundant environment variable references and adding notes on securing Redis passwords across various platforms including AWS AMI, Docker, Google Cloud Run, Kubernetes (AKS, EKS, GKE), and OpenShift. * Refine Redis configuration instructions in AWS AMI deployment documentation for clarity and formatting consistency. * Add new environment variables for bulk upload limits in deployment documentation * Refine deployment documentation for ToolJet subpath installation by improving environment variable formatting and clarifying upgrade prerequisites. * Update PostgreSQL database links in deployment documentation for consistency across ECS, Helm, Kubernetes (AKS, EKS, GKE), and OpenShift setups. * Remove warning about whitelisting ToolJet AI features from Helm deployment documentation * Refine environment variable configuration for workflow scheduling in Helm deployment documentation * formatting updates till gke * final formatting updates --------- Co-authored-by: rudrapratik30 <pratik104agrawal@gmail.com>
2026-01-16 08:40:34 +00:00
## Need Help?
- Reach out via our [Slack Community](https://join.slack.com/t/tooljet/shared_invite/zt-2rk4w42t0-ZV_KJcWU9VL1BBEjnSHLCA)
- Or email us at [support@tooljet.com](mailto:support@tooljet.com)
- Found a bug? Please report it via [GitHub Issues](https://github.com/ToolJet/ToolJet/issues)