ToolJet/.env.example
2026-01-12 18:37:33 +05:30

142 lines
3.9 KiB
Text

# Create .env from this example file and replace values for the environment.
# The application expects a separate .env.test for test environment configuration
# Get detailed information about each variable here: https://docs.tooljet.com/docs/setup/env-vars
# TOOLJET_EDITION=ee
TOOLJET_HOST=http://localhost:8082
LOCKBOX_MASTER_KEY=0000000000000000000000000000000000000000000000000000000000000000
SECRET_KEY_BASE=replace_with_secret_key_base
## Configure a hostname for the server
SERVER_HOST=<hostname>
# DATABASE CONFIG
ORM_LOGGING=
PG_DB=<db name>
PG_USER=<db username>
PG_HOST=<db host>
PG_PASS=<db password>
#DATABASE CONFIG using string
# If you intent you use the string and if the connection does not support ssl. Please use the below format.
# postgres://username:password@hostname:port/database_name?sslmode=disable
# TOOLJET DATABASE
TOOLJET_DB=
TOOLJET_DB_USER=
TOOLJET_DB_HOST=
TOOLJET_DB_PASS=
TOOLJET_DB_RECONFIG=true
TOOLJET_DB_STATEMENT_TIMEOUT=60000
PGRST_HOST=
PGRST_JWT_SECRET=
PGRST_DB_PRE_CONFIG=postgrest.pre_config
## WORKFLOW CONFIG
# Set to 'true' to enable BullMQ job processing and schedule loading
WORKER=
# Workflow dashboard password
TOOLJET_QUEUE_DASH_PASSWORD=
# REDIS CONFIG
REDIS_HOST=localhost
REDIS_PORT=6379
# Optionals
REDIS_USERNAME=
REDIS_PASSWORD=
REDIS_DB=
REDIS_TLS=
# Checks every 24 hours to see if a new version of ToolJet is available
# (Enabled by default. Set false to disable)
CHECK_FOR_UPDATES=true
# Checks every 24 hours to update app telemetry data to ToolJet hub.
# (Telemetry is enabled by default. Set value to true to disable.)
# DISABLE_TOOLJET_TELEMETRY=false
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# EMAIL CONFIGURATION
DEFAULT_FROM_EMAIL=hello@tooljet.io
# Set this value true to get preview email on cevelopment env
SMTP_DISABLED=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_DOMAIN=
SMTP_PORT=
# DISABLE USER SIGNUPS (true or false). only applicable if Multi-Workspace feature is enabled
DISABLE_SIGNUPS=
# OBSERVABILITY
APM_VENDOR=
SENTRY_DNS=
SENTRY_DEBUG=
# FEATURE TOGGLE
COMMENT_FEATURE_ENABLE=
ENABLE_MULTIPLAYER_EDITING=true
# SSO (Applicable only for Multi-Workspace)
SSO_GOOGLE_OAUTH2_CLIENT_ID=
SSO_GIT_OAUTH2_CLIENT_ID=
SSO_GIT_OAUTH2_CLIENT_SECRET=
SSO_GIT_OAUTH2_HOST=
SSO_ACCEPTED_DOMAINS=
SSO_DISABLE_SIGNUPS=
#ONBOARDING
ENABLE_ONBOARDING_QUESTIONS_FOR_ALL_SIGN_UPS=
#session expiry in minutes
USER_SESSION_EXPIRY=
#Disable app embed feature, if true then private and public app embed is not allowed
DISABLE_APP_EMBED=
# if true then private app embed is allowed
ENABLE_PRIVATE_APP_EMBED=
#Enable cors else restricted to TOOLJET_HOST. Set the value true if you are serving front end from diffrent host
ENABLE_CORS=
# cloud specific variables
ORGANIZATION_LICENSE_URL=
ORGANIZATION_LICENSE_API_KEY=
#pat session expiry in minutes
PAT_SESSION_EXPIRY=
#pat expiry in days
PAT_EXPIRY=
#Enable Prometheus metrics endpoint at /metrics
#ENABLE_METRICS=true
#Disable custom query logging for ORM (ORM_LOGGING will still work)
#DISABLE_CUSTOM_QUERY_LOGGING=true
# This is to filter out slow queries which take more than the threshold (in milliseconds) to execute. custom query logging will log only those queries which take more than the threshold to execute.
# Default value: 1 ms
#SLOW_QUERY_LOGGING_THRESHOLD=1
#['query', 'warn','error'] - To log only DB queries related logs. Works only if DISABLE_CUSTOM_QUERY_LOGGING is not set to true
# CUSTOM_QUERY_LOGGING_LEVEL Internally uses TRANSACTION_LOGGING. query -> info, warn -> warn, error -> error
# If TRANSACTION_LOGGING_LEVEL is set to error then CUSTOM_QUERY_LOGGING_LEVEL=query will not log any queries.
#CUSTOM_QUERY_LOGGING_LEVEL=query
#['trace', 'debug', 'info', 'warn','error']
#Default values: development=trace, production=info, test=error
#TRANSACTION_LOGGING_LEVEL=info
SCIM_BASIC_AUTH_USER=12345
SCIM_BASIC_AUTH_PASS=12345
SCIM_HEADER_AUTH_TOKEN=my-secure-header-token
SCIM_ENABLED=true