-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Expand file tree
/
Copy path.env.example
More file actions
165 lines (129 loc) · 5.1 KB
/
Copy path.env.example
File metadata and controls
165 lines (129 loc) · 5.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# 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
# Set to 'ee' for Enterprise Edition, 'ce' for Community Edition (default: ce)
# For docker-compose: Set TOOLJET_EDITION=ee before running docker-compose up
# TOOLJET_EDITION=ce
TOOLJET_HOST=http://localhost:8082
LOCKBOX_MASTER_KEY=0000000000000000000000000000000000000000000000000000000000000000
SECRET_KEY_BASE=replace_with_secret_key_base
# Optional admin API key. When set, requests carrying a matching `tj-admin-api-key`
# header (along with a `tj-workspace-id` header) bypass the user session check and are
# authenticated as the workspace admin. Leave empty to disable. Keep this value secret.
# TJ_ADMIN_API_KEY=
## Configure a hostname for the server
SERVER_HOST=<hostname>
# DATABASE CONFIG
# For docker-compose: PG_HOST should be 'postgres' (the service name)
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=
# Set to 'true' to bypass nsjail sandbox for Python execution
# Use this for cloud platforms that don't support SYS_ADMIN capability (e.g., AWS Fargate, Render)
# WARNING: Python code will run without isolation when bypassed
TOOLJET_WORKFLOW_SANDBOX_BYPASS=
# REDIS CONFIG
# For docker-compose: REDIS_HOST should be 'redis' (the service name)
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
# 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
# Git object cache (workspace git-sync clone acceleration). On by default; set to true to disable.
DISABLE_GIT_OBJECT_CACHE=false
# Idle mirror prune threshold (days)
GIT_OBJECT_CACHE_TTL_DAYS=14
# Max total cache size before LRU eviction (GB)
GIT_OBJECT_CACHE_MAX_GB=2
# Git object cache root dir (default: OS tmpdir). Point at a sized/persistent volume in k8s.
# GIT_OBJECT_CACHE_DIR=/var/lib/tooljet/git-cache