@@ -3,7 +3,7 @@ Environment Variables
33
44Find the most important environment variables below with default values, if
55applicable. The variables for docker and package based installations can be
6- different in some cases. You can find a badge in the tables below with the
6+ different in some cases. You can find a badge in the column ** Limited ** with the
77following meaning:
88
99- |docker | => Only available for docker installations
@@ -28,31 +28,37 @@ Miscellaneous
2828-------------
2929
3030.. list-table ::
31- :widths: 31 19 50
31+ :widths: 28 3 22 47
3232 :header-rows: 1
3333
3434 * - Variable
35+ - Limited
3536 - Default Value
3637 - Description
37- * - GPG_PATH |package |
38+ * - GPG_PATH
39+ - |package |
3840 - unset
3941 - Defines the path of your GPG installation. Only needed if you want to use
4042 different versions of PGP or if your PGP installation differs from the
4143 standard installation.
42- * - RAILS_LOG_TO_STDOUT |package |
44+ * - RAILS_LOG_TO_STDOUT
45+ - |package |
4346 - unset
4447 - This setting can be overwritten during update on package installations.
4548 Use ``enabled `` to turn this option on only until the next update.
4649 Use ``true `` to turn it on permanently.
47- * - ZAMMAD_SAFE_MODE |package |
50+ * - ZAMMAD_SAFE_MODE
51+ - |package |
4852 - unset
4953 - Be careful when running Zammad commands on production systems in safe
5054 mode. While it may allow an escape hatch for certain commands, it has a
5155 potential to break regular Zammad operations.
52- * - ZAMMAD_BIND_IP |package |
56+ * - ZAMMAD_BIND_IP
57+ - |package |
5358 - ``127.0.0.1 ``
5459 - The IP address that the web server is bound to.
55- * - S3_URL |package |
60+ * - S3_URL
61+ - |package |
5662 - unset
5763 - Allows you to provide your S3 configuration. Please have a look in our
5864 admin documentation, where the
@@ -65,33 +71,39 @@ Zammad
6571------
6672
6773.. list-table ::
68- :widths: 31 19 50
74+ :widths: 28 3 22 47
6975 :header-rows: 1
7076
7177 * - Variable
78+ - Limited
7279 - Default Value
7380 - Description
74- * - VERSION |docker |
81+ * - VERSION
82+ - |docker |
7583 - current stable version of Zammad
7684 - Allows customization of the Zammad image tag. Example: ``6.3.1-54 ``.
7785 This default version may be increased when you update your Zammad docker
7886 stack. Please see the
7987 `example env template <https://github.com/zammad/zammad-docker-compose/blob/master/.env.dist >`_
8088 for more details on this variable.
81- * - AUTOWIZARD_JSON |docker |
89+ * - AUTOWIZARD_JSON
90+ - |docker |
8291 - unset
8392 - This variable allows you to provide initial configuration data for your
8493 instance. Autowizard JSON is out of scope of this documentation, however
8594 `this example file <https://github.com/zammad/zammad/blob/stable/contrib/auto_wizard_example.json >`_
8695 should help.
8796 * - ZAMMAD_HTTP_TYPE
97+ -
8898 - unset
8999 - Set the :admin-docs: `http type </settings/system/base.html> ` for your
90100 instance. Possible values are ``http `` and ``https ``.
91101 * - ZAMMAD_FQDN
102+ -
92103 - unset
93104 - Set the :admin-docs: `FQDN </settings/system/base.html> ` for your instance.
94105 * - RAILS_TRUSTED_PROXIES
106+ -
95107 - ``127.0.0.1,::1 ``
96108 - This setting is important for the correct detection of client IP addresses
97109 and features based on it, like rate limiting.
@@ -105,13 +117,15 @@ Zammad
105117 address instead of the actual proxy server IP address, if it is placed in
106118 another network.
107119 * - ZAMMAD_WEB_CONCURRENCY
120+ -
108121 - unset
109122 - Allows spawning ``n `` workers to allow more simultaneous connections for
110123 Zammad's web UI.
111124 In case you applied :doc: `docker hardware resource limits </install/docker-compose/docker-compose-scenarios >`,
112125 the zammad-railsserver's CPU setting should match the value from this variable.
113126 * - | ZAMMAD_PROCESS\_
114127 | SESSION_JOBS_WORKERS
128+ -
115129 - unset
116130 - How many instances of the session worker to run at a time. Increasing
117131 this value can speed up background jobs (like the scheduler) when many
@@ -124,6 +138,7 @@ Zammad
124138 settings variables.
125139 * - | ZAMMAD_PROCESS\_
126140 | SCHEDULED_JOBS_WORKERS
141+ -
127142 - unset
128143 - Allows spawning ``1 `` independent scheduled jobs worker to release
129144 pressure from Zammad's background worker. Maximum number of workers:
@@ -134,6 +149,7 @@ Zammad
134149 settings variables.
135150 * - | ZAMMAD_PROCESS\_
136151 | DELAYED_JOBS_WORKERS
152+ -
137153 - unset
138154 - Allows spawning ``n `` delayed jobs workers to release pressure from
139155 Zammad's background worker.
@@ -143,6 +159,7 @@ Zammad
143159 settings variables.
144160 * - | ZAMMAD_PROCESS_DELAYED\_
145161 | AI_JOBS_WORKERS
162+ -
146163 - unset
147164 - How many instances of AI workers to run simultaneously. AI workers handle
148165 Zammad's AI requests and fetch the responses from the configured AI
@@ -153,17 +170,20 @@ Zammad
153170 The maximum number of workers is ``16 ``.
154171 * - | ZAMMAD_PROCESS_DELAYED\_
155172 | AI_JOBS_WORKERS_THREADS
173+ -
156174 - ``5 ``
157175 - How many threads should be processed by **one ** AI worker (if you have more
158176 than one worker, it is multiplied by the amount of workers). This may
159177 speed up the AI processing, but be aware that a ruby worker can only span
160178 across 1 core anyway. The maximum number of threads is ``16 ``.
161179 * - MEMCACHE_SERVERS
180+ -
162181 - - Docker: ``zammad-memcached:11211 ``
163182 - Package: unset
164183 - Provide your own Memcached instance to Zammad if you already have one.
165184 The package installation fallback is ``/opt/zammad/tmp/cache* ``.
166185 * - REDIS_URL
186+ -
167187 - - Docker: ``redis://zammad-redis:6379 ``
168188 - Package: unset
169189 - Provide your own Redis instance if you already have one. Please note
@@ -174,39 +194,48 @@ Elasticsearch
174194-------------
175195
176196.. list-table ::
177- :widths: 31 19 50
197+ :widths: 28 3 22 47
178198 :header-rows: 1
179199
180200 * - Variable
201+ - Limited
181202 - Default Value
182203 - Description
183- * - ELASTICSEARCH_ENABLED |docker |
204+ * - ELASTICSEARCH_ENABLED
205+ - |docker |
184206 - ``true ``
185207 - Setting this variable to false will allow you to run your Zammad without
186208 Elasticsearch. Please note that we strongly advise **against ** doing so.
187- * - ELASTICSEARCH_HOST |docker |
209+ * - ELASTICSEARCH_HOST
210+ - |docker |
188211 - ``zammad-elasticsearch ``
189212 - Provide a host name or address to your external Elasticsearch cluster.
190- * - ELASTICSEARCH_PORT |docker |
213+ * - ELASTICSEARCH_PORT
214+ - |docker |
191215 - ``9200 ``
192216 - Provide a different port for Elasticsearch if needed.
193- * - ELASTICSEARCH_SCHEMA |docker |
217+ * - ELASTICSEARCH_SCHEMA
218+ - |docker |
194219 - ``http ``
195220 - By default, Elasticsearch is reachable via HTTP.
196- * - ELASTICSEARCH_NAMESPACE |docker |
221+ * - ELASTICSEARCH_NAMESPACE
222+ - |docker |
197223 - ``zammad ``
198224 - With this name space all Zammad related indexes will be created. Change
199225 this if you're using external clusters.
200- * - ELASTICSEARCH_REINDEX |docker |
226+ * - ELASTICSEARCH_REINDEX
227+ - |docker |
201228 - unset
202229 - The searchindex automatically gets rebuilt when no index can be
203230 detected. If you need to rebuild the searchindex manually, either set
204231 this variable to ``true `` or run the reindex command via docker manually.
205- * - ELASTICSEARCH_SSL_VERIFY |docker |
232+ * - ELASTICSEARCH_SSL_VERIFY
233+ - |docker |
206234 - ``true ``
207235 - Allows you to let the compose scripts ignore self signed SSL certificates
208236 for your Elasticsearch installation if needed.
209- * - ELASTICSEARCH_HEAP_SIZE |docker |
237+ * - ELASTICSEARCH_HEAP_SIZE
238+ - |docker |
210239 - ``1G ``
211240 - Set the available memory for Elasticsearch. If you face issues with ES
212241 and its performance, you should increase this value to a reasonable size.
@@ -215,31 +244,39 @@ PostgreSQL
215244----------
216245
217246.. list-table ::
218- :widths: 31 19 50
247+ :widths: 28 3 22 47
219248 :header-rows: 1
220249
221250 * - Variable
251+ - Limited
222252 - Default Value
223253 - Description
224- * - POSTGRESQL_HOST |docker |
254+ * - POSTGRESQL_HOST
255+ - |docker |
225256 - ``zammad-postgresql ``
226257 - Host name of your PostgreSQL server. Use your own if you already have one.
227- * - POSTGRESQL_PORT |docker |
258+ * - POSTGRESQL_PORT
259+ - |docker |
228260 - ``5432 ``
229261 - Adjust the Port of your PostgreSQL server.
230- * - POSTGRESQL_USER |docker |
262+ * - POSTGRESQL_USER
263+ - |docker |
231264 - ``zammad ``
232265 - The database user for Zammad.
233- * - POSTGRESQL_PASS |docker |
266+ * - POSTGRESQL_PASS
267+ - |docker |
234268 - ``zammad ``
235269 - The password of Zammad's database user.
236- * - POSTGRESQL_DB |docker |
270+ * - POSTGRESQL_DB
271+ - |docker |
237272 - ``zammad_production ``
238273 - Zammad's database to use.
239- * - POSTGRESQL_OPTIONS |docker |
274+ * - POSTGRESQL_OPTIONS
275+ - |docker |
240276 - ``?pool=50 ``
241277 - Additional postgresql params to be appended to the database URI.
242- * - POSTGRESQL_DB_CREATE |docker |
278+ * - POSTGRESQL_DB_CREATE
279+ - |docker |
243280 - ``true ``
244281 - By default, Zammad creates the required database. On already existing
245282 database servers, the default might be troublesome.
@@ -248,45 +285,56 @@ Nginx
248285-----
249286
250287.. list-table ::
251- :widths: 31 19 50
288+ :widths: 28 3 22 47
252289 :header-rows: 1
253290
254291 * - Variable
292+ - Limited
255293 - Default Value
256294 - Description
257- * - NGINX_EXPOSE_PORT |docker |
295+ * - NGINX_EXPOSE_PORT
296+ - |docker |
258297 - ``8080 ``
259298 - The port to be exposed for accessing the Zammad stack from outside.
260299 Change this to another value if you already have an existing service
261300 listening on this port.
262- * - NGINX_PORT |docker |
301+ * - NGINX_PORT
302+ - |docker |
263303 - ``8080 ``
264304 - The internal port the Nginx service will listen on.
265- * - NGINX_SERVER_NAME |docker |
305+ * - NGINX_SERVER_NAME
306+ - |docker |
266307 - ``_ ``
267308 - By default, the Nginx container of Zammad will respond to all request.
268309 You can provide your IP / FQDN if you want to.
269- * - NGINX_SERVER_SCHEME |docker |
310+ * - NGINX_SERVER_SCHEME
311+ - |docker |
270312 - ``\$scheme ``
271313 - If the Nginx container for Zammad **is not ** the upstream server
272314 (aka you're using another proxy in front of Nginx) ``$scheme `` may be
273315 wrong. You can set the correct scheme ``http `` or ``https `` if needed.
274- * - NGINX_CLIENT_MAX_BODY_SIZE |docker |
316+ * - NGINX_CLIENT_MAX_BODY_SIZE
317+ - |docker |
275318 - unset
276319 - Define the maximum size of data that a client can send to the server.
277- * - ZAMMAD_RAILSSERVER_HOST |docker |
320+ * - ZAMMAD_RAILSSERVER_HOST
321+ - |docker |
278322 - ``zammad-railsserver ``
279323 - Host name of the rails server container.
280- * - ZAMMAD_RAILSSERVER_PORT |docker |
324+ * - ZAMMAD_RAILSSERVER_PORT
325+ - |docker |
281326 - ``3000 ``
282327 - Port of Zammad's rails server.
283- * - ZAMMAD_RAILS_PORT |package |
328+ * - ZAMMAD_RAILS_PORT
329+ - |package |
284330 - ``3000 ``
285331 - Port of Zammad's rails server.
286- * - ZAMMAD_WEBSOCKET_HOST |docker |
332+ * - ZAMMAD_WEBSOCKET_HOST
333+ - |docker |
287334 - ``zammad-websocket ``
288335 - Host name of Zammad's websocket server.
289- * - ZAMMAD_WEBSOCKET_PORT |docker |
336+ * - ZAMMAD_WEBSOCKET_PORT
337+ - |docker |
290338 - ``6042 ``
291339 - Port of Zammad's websocket server.
292340
0 commit comments