-
Notifications
You must be signed in to change notification settings - Fork 9
/
default.env
55 lines (46 loc) · 1.74 KB
/
default.env
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
## logging configuration
export WDR_LOGGING_LOGLEVEL=DEBUG
export WDR_LOGGING_LOGFILE=stdout
## database configuration
export WDR_DB_DEBUG=True
# PostgreSQL
export WDR_DB_TYPE=postgresql
export WDR_DB_HOST=localhost
export WDR_DB_PORT=5432
export WDR_DB_NAME=woudc-data-registry
export WDR_DB_USERNAME=postgres
export WDR_DB_PASSWORD=postgres
export PGPASSWORD=$WDR_DB_PASSWORD
# alternative SQLite
# export WDR_DB_TYPE=sqlite
# export WDR_DB_NAME=test.db
## search index configuration
export WDR_SEARCH_TYPE=elasticsearch
export WDR_SEARCH_INDEX_BASENAME=woudc_data_registry
export WDR_SEARCH_USERNAME=elastic
export WDR_SEARCH_PASSWORD=<secret>
export WDR_SEARCH_URL=https://${WDR_SEARCH_USERNAME}:${WDR_SEARCH_PASSWORD}@localhost:9200/
## waf configuration
export WDR_WAF_BASEURL=https://woudc.org/archive/
export WDR_WAF_BASEDIR=/tmp
# table configurations; optional: WDR_TABLE_SCHEMA, WDR_TABLE_CONFIG
export WDR_TABLE_SCHEMA=/path/to/data/tables-schema.json
export WDR_TABLE_CONFIG=/path/to/data/migrate/tables-backfilling.yml
export WDR_ERROR_CONFIG=/path/to/data/errors.csv
export WDR_ALIAS_CONFIG=/path/to/data/aliases.yml
export WDR_EXTRA_CONFIG=/path/to/data/extra-options.yml
# UV Index formula table configuration
export WDR_UV_INDEX_FORMULA_LOOKUP=/path/to/data/uv-index-formula-lookup.csv
# enable shell autocompletion - optional
# eval "$(_WOUDC_DATA_REGISTRY_COMPLETE=source woudc-data-registry)"
# Email configuration
export WDR_EMAIL_HOST=host
export WDR_EMAIL_PORT=port
export WDR_EMAIL_SECURE=False
export WDR_EMAIL_TEST=False
export WDR_EMAIL_FROM_USERNAME=email
export WDR_EMAIL_FROM_PASSWORD=<secret>
export WDR_EMAIL_TO=email
export WDR_EMAIL_CC=email
export WDR_EMAIL_BCC=email
export WDR_TEMPLATE_PATH=/path/to/etc/woudc-contributor-feedback.txt