.env 2.04 KB
Newer Older
1
2
CELERY_LOG_LEVEL=error

3
CERN_SEARCH_INSTANCE=test
4
5
CERN_SEARCH_REMOTE_APP_RESOURCE=localhost
CERN_SEARCH_USE_EGROUPS='False'
6
7
8
9
CERN_SEARCH_FILES_PROCESSOR_QUEUE=files_processor
CERN_SEARCH_FILES_PROCESSOR_QUEUE_DLX=files_processor_dlx
CERN_SEARCH_FILES_PROCESSOR_EXCHANGE=default
CERN_SEARCH_FILES_PROCESSOR_EXCHANGE_DLX=dlx
10
11

CONTAINER_NAME=cern-search-rest-api
12
WORKER_APP=invenio_app.celery
13
14
15

DEFAULT_RECORDS_FILES_LOCATION=/usr/share/cern-search-api/files

16
17
18
ENV=dev

FLASK_SKIP_DOTENV=1
19
20
21
FLASK_DEBUG='False'

FLOWER_PASS=password
22
23

INVENIO_ACCOUNTS_SESSION_REDIS_URL=redis://redis:6379/1
Carina Antunes's avatar
Carina Antunes committed
24
INVENIO_ADMIN_ACCESS_GROUPS=CernSearch-Administrators@cern.ch
25
INVENIO_ADMIN_USER=test@example.com
Carina Antunes's avatar
Carina Antunes committed
26
INVENIO_ADMIN_VIEW_ACCESS_GROUPS=CernSearch-Administrators@cern.ch
27
INVENIO_APP_ALLOWED_HOSTS=['localhost', 'nginx']
28
INVENIO_BROKER_URL=amqp://guest:password@rabbitmq:5672
29
INVENIO_CACHE_REDIS_HOST=redis
30
31
32
INVENIO_CACHE_REDIS_URL=redis://redis:6379/0
INVENIO_CERN_APP_CREDENTIALS={'consumer_key':'bah'}
INVENIO_CERN_APP_CREDENTIALS_CONSUMER_KEY=xxx
33
34
INVENIO_CELERY_BROKER_URL=amqp://guest:password@rabbitmq:5672
INVENIO_CELERY_RESULT_BACKEND=redis://redis:6379/2
35
INVENIO_COLLECT_STORAGE=flask_collect.storage.file
Carina Antunes's avatar
Carina Antunes committed
36
INVENIO_INDEXER_BULK_REQUEST_TIMEOUT=10
Carina Antunes's avatar
Carina Antunes committed
37
INVENIO_INDEXER_DEFAULT_DOC_TYPE=doc_v0.0.2
38
INVENIO_INDEXER_DEFAULT_INDEX=test-doc_v0.0.2
Carina Antunes's avatar
Carina Antunes committed
39
INVENIO_LOGGING_CONSOLE='True'
40
INVENIO_LOGGING_CONSOLE_LEVEL=WARNING
41
INVENIO_RATELIMIT_STORAGE_URL='redis://redis:6379/3'
42
INVENIO_RATELIMIT_AUTHENTICATED_USER=100000/hour
43
44
45
46
47
48
49
50
INVENIO_SEARCH_ELASTIC_HOSTS=elasticsearch
INVENIO_SEARCH_INDEX_PREFIX=cernsearch-
INVENIO_SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://uservice:itsjust1234@postgres/uservice
INVENIO_THEME_FRONTPAGE_TITLE='CERN Search DEV'
INVENIO_THEME_LOGO=/images/cernsearchicon.png
INVENIO_THEME_LOGO_ADMIN=/images/cernsearchicon.png
INVENIO_THEME_SITENAME='CERN Search DEV'

51
52
RABBITMQ_DEFAULT_PASS=password

53
54
55
POSTGRESQL_DATABASE=uservice
POSTGRESQL_PASSWORD=itsjust1234
POSTGRESQL_USER=uservice
56
57
58
59
60

INVENIO_FILES_PROCESSOR_TIKA_SERVER_ENDPOINT=http://tika:9998

SQLALCHEMY_POOL_SIZE=10
SQLALCHEMY_MAX_OVERFLOW=15