aboutsummaryrefslogtreecommitdiffstats
path: root/settings.toml
blob: aaab1bd700a1059b2188ad749dd19ade4538fb6e (plain)
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

[default]
SCHOLAR_ENV = "default"
SCHOLAR_DOMAIN = "fatcat.wiki"
SCHOLAR_ISSUEDB_PATH = "data/issue_db.sqlite"
I18N_LANG_DEFAULT = "en"
FATCAT_ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki"
ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki"
ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext"
THUMBNAIL_URL_PREFIX = "https://blobs.fatcat.wiki/thumbnail/pdf/"
SANDCRAWLER_DB_API = "http://aitio.us.archive.org:3030"
SANDCRAWLER_S3_API = "wbgrp-svc169.us.archive.org:8333"
KAFKA_BROKERS = []
FATCAT_API_HOST = "https://api.fatcat.wiki/v0"
INDEX_WORKER_BATCH_SIZE = 50

[test]
SCHOLAR_ENV = "test"
FATCAT_API_HOST = "http://localhost:9411/v0"

[development]
SCHOLAR_ENV = "dev"
ELASTICSEARCH_FULLTEXT_INDEX = "dev_scholar_fulltext"
ELASTICSEARCH_BACKEND = "http://localhost:9200"
KAFKA_BROKERS = ["localhost"]
FATCAT_API_HOST = "http://localhost:9411/v0"

[qa]
SCHOLAR_ENV = "qa"
ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext_v01"
ELASTICSEARCH_BACKEND = "http://search-svc097.fatcat.wiki:9292"
KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]

[prod]
SCHOLAR_ENV = "prod"
FATCAT_ELASTICSEARCH_BACKEND = "https://search.qa.fatcat.wiki"
ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext_v01"
ELASTICSEARCH_BACKEND = "http://localhost:9200"
KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]