-
Notifications
You must be signed in to change notification settings - Fork 7
/
.config.sh
executable file
·534 lines (396 loc) · 10.8 KB
/
.config.sh
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
#!/bin/bash
#
# Keyrock
#
# Set a sub-domain name of Keyrock
KEYROCK=keyrock
# Set a name of an admin user for Keyrock. Default: admin
IDM_ADMIN_USER=
# Set an e-mail address of an admin user for Keyrock. Default: IDM_ADMIN_NAME @ DOMAIN_NAME
IDM_ADMIN_EMAIL=
# Set a password of an admin user for Keyrock. Default: automatically generated
IDM_ADMIN_PASS=
# Use Postfix (local delivery). (true or false) Default: false
POSTFIX=
# Logging level for Keyrock
# https://github.com/ging/fiware-idm/blob/master/doc/installation_and_administration_guide/environment_variables.md
# true and false
IDM_DEBUG=false
# Docker image for Keyrock
IMAGE_KEYROCK=letsfiware/fiware-idm:8.4.0
# Docker image for Postfix
IMAGE_POSTFIX=letsfiware/postfix:0.40.0
#
# Wilma
#
#
# Enable basic authorization. (true or false) Default: false
WILMA_AUTH_ENABLED=
# Docker image for Wilma
IMAGE_WILMA=letsfiware/fiware-pep-proxy:8.4.0
#
# Orion
#
# Set a sub-domain name of Orion
ORION=orion
# Expose port 1026 (none, local, all) Default: none
ORION_EXPOSE_PORT=
# Enable cross-origin resource sharing (CORS) Default: false
ORION_CORS=
# Set Access-Control-Allow-Origin header for CORS
# Default: '*'
set -f
ORION_ACCESS_CONTROL_ALLOW_ORIGIN=
set +f
# Set Access-Control-Allow-Methods header for CORS
# Default: 'GET, POST, OPTIONS, DELETE, PUT, PATCH'
ORION_ACCESS_CONTROL_ALLOW_METHODS=
# Set Access-Control-Allow-Headers header for CORS
# Default: 'Origin, Content-Type, Accept, Authorization, X-Requested-With, fiware-service, fiware-servicepath'
ORION_ACCESS_CONTROL_ALLOW_HEADERS=
# Set Access-Control-Expose-Headers header for CORS
# Default: 'location, fiware-correlator'
ORION_CONTROL_EXPOSE_HEADERS=
# Set Access-Control-Max-Age header for CORS
# Default: 7200
ORION_ACCESS_CONTROL_MAX_AGE=
# Docker image for Orion
IMAGE_ORION=telefonicaiot/fiware-orion:4.0.0
#
# Orion-LD
#
# Set a sub-domain name of Orion-LD
ORION_LD=
# Expose port 1026 (none, local, all) Default: none
ORION_LD_EXPOSE_PORT=
# ORIONLD_MULTI_SERVICE (FALSE, TRUE) Default: TRUE
ORION_LD_MULTI_SERVICE=
# ORIONLD_DISABLE_FILE_LOG (FALSE, TRUE) Default: TRUE
ORION_LD_DISABLE_FILE_LOG=
# Docker image for Orion
IMAGE_ORION_LD=quay.io/fiware/orion-ld:1.5.1
#
# Mintaka
#
# Enable Mintaka (false, true) Default: true
MINTAKA=
# Expose port 8080 (none, local, all) Default: none
MINTAKA_EXPOSE_PORT=
# Docker image for Mintaka
IMAGE_MINTAKA=quay.io/fiware/mintaka:0.6.6
# Set a password for Timescale DB. Default: automatically generated
TIMESCALE_PASS=
# Expose port 5432 (none, local, all) Default: none
TIMESCALE_EXPOSE_PORT=
# Docker image for Timescale DB
IMAGE_TIMESCALE=timescale/timescaledb-postgis:1.7.5-pg12
#
# Cygnus
#
# Set a sub-domain name of Cygnus
CYGNUS=
# Use Cygnus sink (true or false) Default: false
CYGNUS_MONGO=
CYGNUS_MYSQL=
CYGNUS_POSTGRES=
CYGNUS_ELASTICSEARCH=
# Expose port (none, local, all) Default: none
CYGNUS_EXPOSE_PORT=
# Logging level for Cygnus
# https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-common/installation_and_administration_guide/install_with_docker.md
# INFO, DEBUG
CYGNUS_LOG_LEVEL=INFO
# Docker image for Cygnus
IMAGE_CYGNUS=telefonicaiot/fiware-cygnus:3.8.0
# Set a sub-domain name of Elasticsearch
ELASTICSEARCH=
# Elasticsearch Java options
ELASTICSEARCH_JAVA_OPTS="-Xmx256m -Xms256m"
# Expose port (none, local, all) Default: none
ELASTICSEARCH_EXPOSE_PORT=
# Docker image for Elasticsearch
IMAGE_ELASTICSEARCH_DB=elasticsearch:7.6.2
#
# Comet
#
# Set a sub-domain name of Comet
COMET=
# Set comet mode when Cygnus is enabled (Default: true)
# false: minimal mode (STH-Comet only)
# true: formal mode (Cygnus + STH-Comet)
COMET_FORMAL_MODE=
# Expose port (none, local, all) Default: none
COMET_EXPOSE_PORT=
# Comet
# https://github.com/telefonicaid/fiware-sth-comet/blob/master/doc/manuals/running.md
# Possible values are: "DEBUG", "INFO", "WARN", "ERROR" and "FATAL"
COMET_LOGOPS_LEVEL=INFO
# Docker image for Comet
IMAGE_COMET=telefonicaiot/fiware-sth-comet:2.11.0
#
# Perseo
#
PERSEO=
# Perseo Max age (default: 6000)
PERSEO_MAX_AGE=
# Perseo SMTP host
PERSEO_SMTP_HOST=
# Perseo SMTP port
PERSEO_SMTP_PORT=
# Perseo SMTP secure
PERSEO_SMTP_SECURE=
# Perseo LOG LEVEL
PERSEO_LOG_LEVEL=
# Docker images for Perseo
IMAGE_PERSEO_CORE=telefonicaiot/perseo-core:1.13.0
IMAGE_PERSEO_FE=telefonicaiot/perseo-fe:1.30.0
#
# Draco
#
DRACO=
# Use Draco sink (true or false) Default: false
DRACO_MONGO=
DRACO_MYSQL=
DRACO_POSTGRES=
# Expose port (none, local, all) Default: none
DRACO_EXPOSE_PORT=
# Disable /nifi-docs/ url
DRACO_DISABLE_NIFI_DOCS=
# Docker image for Draco
IMAGE_DRACO=ging/fiware-draco:2.1.0
#
# Quantumleap
#
# Set a sub-domain name of Quantumleap
QUANTUMLEAP=
# Expose port (none, local, all) Default: none
QUANTUMLEAP_EXPOSE_PORT=
# Quantumleap
# INFO, DEBUG
QUANTUMLEAP_LOGLEVEL=INFO
# Docker image for Quantumleap
IMAGE_QUANTUMLEAP=orchestracities/quantumleap:1.0.0
# Docker image for Crate DB
IMAGE_CRATE=crate:4.6.6
#
# WireCloud
#
# Set a sub-domain name of WireCloud
WIRECLOUD=
# Set a sub-domain name of Ngsiproxy
NGSIPROXY=
# WireCloud
# https://github.com/Wirecloud/docker-wirecloud/blob/master/README.md
WIRECLOUD_LOGLEVEL=INFO
# Docker image for WireCloud
IMAGE_WIRECLOUD=quay.io/fiware/wirecloud:1.3.1
# Docker image for Ngsiproxy
IMAGE_NGSIPROXY=quay.io/fiware/ngsiproxy:1.2.2
# Docker image for Redis
IMAGE_REDIS=redis:6
# Docker image for Elasticsearch
IMAGE_ELASTICSEARCH=elasticsearch:2.4
# Docker image for Memcached
IMAGE_MEMCACHED=memcached:1
#
# IoT Agent over Mosquitto
#
# Set a sub-domain name of Mosquitto
MOSQUITTO=
# Use MQTT (Port 1883). (true or false) Default: false
MQTT_1883=
# Use MQTT TLS (Port 8883). (true or false) Default: true
MQTT_TLS=
# Set username for MQTT. Defaut: fiware
MQTT_USERNAME=
# Set password for MQTT. Defaut: automatically generated
MQTT_PASSWORD=
# https://mosquitto.org/man/mosquitto-conf-5.html
# debug, error, warning, notice, information, subscribe, unsubscribe, websockets, none, all
MOSQUITTO_LOG_TYPE=error,warning,notice,information
# Docker image for Mosquitto
IMAGE_MOSQUITTO=eclipse-mosquitto:1.6
#
# IoT Agent over HTTP
#
# Set a sub-domain name to use IoT Agent over HTTP.
IOTAGENT_HTTP=
# Authorization for IoT Agent over HTTP. (none, basic or bearer) Default: bearer
IOTA_HTTP_AUTH=
# User for Basic authorization for IoT Agent over HTTP. Default: fiware
IOTA_HTTP_BASIC_USER=
# Pasword for Basic authorization for IoT Agent over HTTP. Default: automatically generated
IOTA_HTTP_BASIC_PASS=
#
# IoT Agent for UltraLight 2.0
#
# Set a sub-domain name of IoT Agent for UltraLight 2.0
IOTAGENT_UL=
IOTA_UL_DEFAULT_RESOURCE=/iot/ul
IOTA_UL_TIMESTAMP=true
IOTA_UL_AUTOCAST=true
# Iot Agent for UltraLight 2.0
IOTA_UL_LOG_LEVEL=INFO
# Docker image for IoT Agent for UltraLight 2.0
IMAGE_IOTAGENT_UL=telefonicaiot/iotagent-ul:3.4.0
#
# IoT Agent for JSON
#
# Set a sub-domain name of IoT Agent for JSON
IOTAGENT_JSON=
IOTA_JSON_DEFAULT_RESOURCE=/iot/json
IOTA_JSON_TIMESTAMP=true
IOTA_JSON_AUTOCAST=true
# Iot Agent for JSON
IOTA_JSON_LOG_LEVEL=INFO
# Docker image for IoT Agent for JSON
IMAGE_IOTAGENT_JSON=telefonicaiot/iotagent-json:3.4.0
#
# Node-RED
#
# Set a sub-domain name of Node-RED
NODE_RED=
# Node-RED multi instance
# Number of Node-RED instance. default: 1
# Must be between 1 and 20 when specified
NODE_RED_INSTANCE_NUMBER=
# username for Node-RED instance. default: node-red
NODE_RED_INSTANCE_USERNAME=
# httpNodeRoot for Node-RED instance. default: / or /node-red???
# Must be a path starting with '/'
NODE_RED_INSTANCE_HTTP_NODE_ROOT=
# httpAdminRoot for Node-RED instance. default: / or /node-red???
# Must be a path starting with '/'
NODE_RED_INSTANCE_HTTP_ADMIN_ROOT=
# Logging level for Node-RED
# https://nodered.org/docs/user-guide/runtime/logging
NODE_RED_LOGGING_LEVEL=info
NODE_RED_LOGGING_METRICS=
NODE_RED_LOGGING_AUDIT=
# Docker image for Node-RED
IMAGE_NODE_RED=letsfiware/node-red:0.40.0
#
# Grafana
#
# Set a sub-domain name of Grafana
GRAFANA=
# Logging level for Grafana
# https://grafana.com/docs/grafana/latest/administration/configuration/#configure-with-environment-variables
# https://github.com/grafana/grafana/blob/main/conf/defaults.ini
# "debug", "info", "warn", "error", "critical"
GF_LOG_LEVEL=info
IMAGE_GRAFANA=grafana/grafana:6.1.6
#
# Zeppelin
#
# Set a sub-domain name of Zeppelin
ZEPPELIN=
# Logging level for Zeppelin
ZEPPELIN_DEBUG=
# Docker image for Zeppelin
IMAGE_ZEPPELIN=letsfiware/zeppelin:0.40.0
#
# Queryproxy
#
# Use queryproxy. (true or false) Default: false
QUERYPROXY=
# Logging level for Queryproxy
QUERYPROXY_LOGLEVEL=info
# Docker image for Queryproxy
IMAGE_QUERYPROXY=letsfiware/queryproxy:0.40.0
#
# Tokenproxy
#
# Logging level for Tokenproxy
TOKENPROXY_LOGLEVEL=info
# Use verbose mode
TOKENPROXY_VERBOSE=
# Docker image for Tokenproxy
IMAGE_TOKENPROXY=letsfiware/tokenproxy:0.40.0
#
# Regproxy
#
# Use regproxy. (true or false) Default: false
REGPROXY=
# NgsiType for remote broker. (v2 or ld) Default: v2
REGPROXY_NGSITYPE=
# Host for remote broker.
REGPROXY_HOST=
# IdM type for remote broker.
REGPROXY_IDMTYPE=
# IdM host for remote broker.
REGPROXY_IDMHOST=
# username for remote broker.
REGPROXY_USERNAME=
# password for remote broker.
REGPROXY_PASSWORD=
# client id for remote broker.
REGPROXY_CLIENT_ID=
# client secret for remote broker.
REGPROXY_CLIENT_SECRET=
# Regproxy log level
REGPROXY_LOGLEVEL=info
# Regproxy verbose
REGPROXY_VERBOSE=false
# Docker image for Regproxy
IMAGE_REGPROXY=letsfiware/regproxy:0.40.0
#
# MongoDB
#
# Expose port (none, local, all) Default: none
MONGO_EXPOSE_PORT=
# Docker images for MongoDB
IMAGE_MONGO=mongo:4.4
#
# MySQL
#
# Expose port (none, local, all) Default: none
MYSQL_EXPOSE_PORT=
# Docker images for MySQL
IMAGE_MYSQL=mysql:8.1
#
# PostgreSQL
#
# Expose port (none, local, all) Default: none
POSTGRES_EXPOSE_PORT=
# Docker images for PostgreSQL
IMAGE_POSTGRES=postgres:15
#
# Nginx
#
# Docker images for Nginx
IMAGE_NGINX=nginx:1.26
# Docker image for pwgen
IMAGE_PWGEN=letsfiware/pwgen:0.40.0
#
# Firewall (firewalld)
#
# Enable firewall. (true or false) Default: false
FIREWALL=
#
# Certbot options
#
# Set a e-mail address for certbot. Defaul: a e-mail address of an admin user for Keyrock.
CERT_EMAIL=
# Revoke and reacquire the certificate. (true or false) Default: false
CERT_REVOKE=
# Use --test-cert option.
# CERT_TEST=--test-cert
CERT_TEST=
# Use --force-renewal option. (true or false) Default: false
CERT_FORCE_RENEWAL=
# Docker image for Certbot
IMAGE_CERTBOT=certbot/certbot:v2.6.0
#
# Multi-server mode
#
MULTI_SERVER_KEYROCK=
MULTI_SERVER_ADMIN_EMAIL=
MULTI_SERVER_ADMIN_PASS=
MULTI_SERVER_PEP_PROXY_USERNAME=
MULTI_SERVER_PEP_PASSWORD=
MULTI_SERVER_CLIENT_ID=
MULTI_SERVER_CLIENT_SECRET=
MULTI_SERVER_ORION_HOST=
MULTI_SERVER_QUANTUMLEAP_HOST=
MULTI_SERVER_ORION_INTERNAL_IP=