-
Notifications
You must be signed in to change notification settings - Fork 133
/
.env.example
62 lines (52 loc) · 1.79 KB
/
.env.example
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
# This is .env.example file for chatbot_ner module to hold settings
# Copy it to a docker/.env and fill in all the values.
# Never push your personal keys and passwords to any public repository!
# Please don't add spaces around '='
NAME=chatbot_ner
DJANGODIR=/app
ENVIRONMENT=development
DJANGO_LOG_LEVEL=DEBUG
DJANGO_SETTINGS_MODULE=chatbot_ner.settings
DJANGO_WSGI_MODULE=chatbot_ner/wsgi.py
# Important: Change the value of SECRET_KEY to something else and keep it secret
SECRET_KEY=!yqqcz-v@(s@kpygpvomcuu3il0q1&qtpz)e_g0ulo-sdv%c0c
NUM_WORKERS=1
MAX_REQUESTS=1000
PORT=8081
TIMEOUT=600
# This is the primary engine to use for datastore. Valid values are one of the following: ['elasticsearch']
ENGINE=elasticsearch
# ES prefixed variables correspond to settings for elasticsearch.
# ES_URL is the complete url with auth name and password required to connect. If provided, this will override ES_HOST,
# ES_PORT, ES_AUTH_NAME, ES_AUTH_PASSWORD
# ES_HOST and ES_PORT by default is host for ES that comes up with compose
ES_URL=
ES_AUTH_NAME=
ES_AUTH_PASSWORD=
ES_SCHEME=http
ES_HOST=elasticsearch
ES_PORT=9200
ES_ALIAS=entity_data
ES_INDEX_1=entity_data_v1
ES_INDEX_2=
ES_DOC_TYPE=data_dictionary
ELASTICSEARCH_CRF_DATA_INDEX_NAME=entity_examples_data
ELASTICSEARCH_CRF_DATA_DOC_TYPE=training_dictionary
ES_REQUEST_TIMEOUT=20
ES_BULK_MSG_SIZE=1000
ES_SEARCH_SIZE=10000
# Auth variables if ES is hosted on AWS
ES_AWS_ACCESS_KEY_ID=
ES_AWS_REGION=
ES_AWS_SECRET_ACCESS_KEY=
ES_AWS_SERVICE=
DESTINATION_ES_SCHEME=
DESTINATION_HOST=
DESTINATION_PORT=
# In order to enable entity detection for multiple languages, we use google translate. Please enter the key(optional)
GOOGLE_TRANSLATE_API_KEY=
# Application performance and error alerting
ELASTIC_APM_ENABLED=False
ELASTIC_APM_SERVER_URL=
SENTRY_ENABLED=False
SENTRY_DSN=