.env 2.12 KB
Newer Older
1
2
CELERY_LOG_LEVEL=error

3
CERN_SEARCH_INSTANCE=test
4
CERN_SEARCH_REMOTE_APP_RESOURCE=localhost
Carina Antunes's avatar
Carina Antunes committed
5
CERN_SEARCH_SERVER_NAME=localhost
6
CERN_SEARCH_USE_EGROUPS='False'
7
8
9
10
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
11
12

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

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

17
18
19
ENV=dev

FLASK_SKIP_DOTENV=1
20
FLASK_DEBUG='True'
Carina Antunes's avatar
Carina Antunes committed
21
INVENIO_DEBUG=0
22
23

FLOWER_PASS=password
24
25

INVENIO_ACCOUNTS_SESSION_REDIS_URL=redis://redis:6379/1
Carina Antunes's avatar
Carina Antunes committed
26
INVENIO_ADMIN_ACCESS_GROUPS=CernSearch-Administrators@cern.ch
27
INVENIO_ADMIN_USER=test@example.com
Carina Antunes's avatar
Carina Antunes committed
28
INVENIO_ADMIN_VIEW_ACCESS_GROUPS=CernSearch-Administrators@cern.ch
29
INVENIO_APP_ALLOWED_HOSTS=['localhost', 'nginx']
30
INVENIO_BROKER_URL=amqp://guest:password@rabbitmq:5672
31
INVENIO_CACHE_REDIS_HOST=redis
32
33
34
INVENIO_CACHE_REDIS_URL=redis://redis:6379/0
INVENIO_CERN_APP_CREDENTIALS={'consumer_key':'bah'}
INVENIO_CERN_APP_CREDENTIALS_CONSUMER_KEY=xxx
35
36
INVENIO_CELERY_BROKER_URL=amqp://guest:password@rabbitmq:5672
INVENIO_CELERY_RESULT_BACKEND=redis://redis:6379/2
37
INVENIO_COLLECT_STORAGE=flask_collect.storage.file
Carina Antunes's avatar
Carina Antunes committed
38
INVENIO_INDEXER_BULK_REQUEST_TIMEOUT=10
Carina Antunes's avatar
Carina Antunes committed
39
INVENIO_INDEXER_DEFAULT_DOC_TYPE=doc_v0.0.2
40
INVENIO_INDEXER_DEFAULT_INDEX=test-doc_v0.0.2
Carina Antunes's avatar
Carina Antunes committed
41
INVENIO_JSONSCHEMAS_HOST=0.0.0.0
Carina Antunes's avatar
Carina Antunes committed
42
INVENIO_LOGGING_CONSOLE='True'
Carina Antunes's avatar
Carina Antunes committed
43
INVENIO_LOGGING_CONSOLE_LEVEL=DEBUG
44
INVENIO_RATELIMIT_STORAGE_URL='redis://redis:6379/3'
45
INVENIO_RATELIMIT_AUTHENTICATED_USER=100000/hour
46
47
48
49
50
51
52
53
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'

54
55
RABBITMQ_DEFAULT_PASS=password

56
57
58
POSTGRESQL_DATABASE=uservice
POSTGRESQL_PASSWORD=itsjust1234
POSTGRESQL_USER=uservice
59
60
61
62
63

INVENIO_FILES_PROCESSOR_TIKA_SERVER_ENDPOINT=http://tika:9998

SQLALCHEMY_POOL_SIZE=10
SQLALCHEMY_MAX_OVERFLOW=15