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

[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"

[dev]
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 = "qa_scholar_fulltext"
ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki"
KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]

[prod]
SCHOLAR_ENV = "prod"
ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext"
ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki"
KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]