blob: c69a80c9ec904bc941c080d3935994e1c8ff21ff (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
[default]
SCHOLAR_ENV = "default"
SCHOLAR_ISSUEDB_PATH = "data/issue_db.sqlite"
I18N_LANG_DEFAULT = "en"
ELASTICSEARCH_QUERY_BASE = "http://localhost:9200"
ELASTICSEARCH_QUERY_FULLTEXT_INDEX = "scholar_fulltext"
ELASTICSEARCH_QUERY_PREFERENCE = ""
ELASTICSEARCH_WRITE_BASE = "http://localhost:9200"
ELASTICSEARCH_WRITE_FULLTEXT_INDEX = "scholar_fulltext_v01"
ELASTICSEARCH_PUBLIC_URL = "http://localhost:9292"
THUMBNAIL_URL_PREFIX = "https://blobs.fatcat.wiki/thumbnail/pdf/"
SANDCRAWLER_DB_API = "http://wbgrp-svc506.us.archive.org:3030"
SANDCRAWLER_S3_API = "wbgrp-svc169.us.archive.org:8333"
GROBID_HOST = "https://grobid.qa.fatcat.wiki"
KAFKA_BROKERS = []
FATCAT_API_HOST = "https://api.fatcat.wiki/v0"
ELASTICSEARCH_FATCAT_BASE = "https://search.fatcat.wiki"
ELASTICSEARCH_FATCAT_RELEASE_INDEX = "fatcat_release"
INDEX_WORKER_BATCH_SIZE = 50
SENTRY_DSN = ""
ENABLE_GOATCOUNTER = false
GOATCOUNTER_ENDPOINT = "https://goatcounter.scholar.fatcat.wiki/count"
GOATCOUNTER_SCRIPT_URL = "https://goatcounter.scholar.fatcat.wiki/count.js"
ENABLE_PROMETHEUS = false
ENABLE_CITATION_QUERY = true
EXCLUDE_WEB_CONTAINER_IDENTS = []
EXCLUDE_WEB_PUBLISHERS = []
[test]
SCHOLAR_ENV = "test"
FATCAT_API_HOST = "http://disabled-during-tests-bogus.xyz:3333"
ELASTICSEARCH_FATCAT_BASE = "http://disabled-during-tests-bogus.xyz:3333"
ELASTICSEARCH_QUERY_BASE = "http://disabled-during-tests-bogus.xyz:3333"
ELASTICSEARCH_WRITE_BASE = "http://disabled-during-tests-bogus.xyz:3333"
ELASTICSEARCH_WRITE_FULLTEXT_INDEX = "dummy_index"
ELASTICSEARCH_PUBLIC_URL = "http://disabled-during-tests-bogus.xyz:3333"
SANDCRAWLER_DB_API = "http://disabled-during-tests-bogus.xyz:3333"
SANDCRAWLER_S3_API = "disabled-during-tests-bogus.xyz:8333"
GROBID_HOST = "http://disabled-during-tests-bogus.xyz:3333"
SCHOLAR_ISSUEDB_PATH = ":memory:"
[development]
SCHOLAR_ENV = "dev"
ELASTICSEARCH_QUERY_BASE = "http://localhost:9200"
ELASTICSEARCH_QUERY_FULLTEXT_INDEX = "dev_scholar_fulltext"
ELASTICSEARCH_WRITE_BASE = "http://localhost:9200"
ELASTICSEARCH_WRITE_FULLTEXT_INDEX = "dev_scholar_fulltext"
ELASTICSEARCH_PUBLIC_URL = "http://localhost:9200"
KAFKA_BROKERS = ["localhost"]
[development-qa]
SCHOLAR_ENV = "dev"
ELASTICSEARCH_QUERY_BASE = "https://search.fatcat.wiki"
ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki"
[qa]
SCHOLAR_ENV = "qa"
ENABLE_PROMETHEUS = true
ELASTICSEARCH_QUERY_BASE = "https://search.fatcat.wiki"
ELASTICSEARCH_WRITE_BASE = "http://localhost:9200"
ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki"
KAFKA_BROKERS = ["wbgrp-svc350.us.archive.org"]
[prod]
SCHOLAR_ENV = "prod"
ENABLE_PROMETHEUS = true
#ONION_DOMAIN = "scholar.archivev3qli37bju4rlh27glh24lljyezwxf4pokmrdbpefjlcrp5id.onion"
ELASTICSEARCH_QUERY_BASE = "http://localhost:9292"
ELASTICSEARCH_QUERY_FULLTEXT_INDEX = "scholar_fulltext"
ELASTICSEARCH_QUERY_PREFERENCE = "_local"
ELASTICSEARCH_WRITE_BASE = "http://localhost:9200"
ELASTICSEARCH_WRITE_FULLTEXT_INDEX = "scholar_fulltext_v01_20211208"
ELASTICSEARCH_PUBLIC_URL = "https://search.fatcat.wiki"
KAFKA_BROKERS = ["wbgrp-svc350.us.archive.org"]
ENABLE_GOATCOUNTER = true
GOATCOUNTER_ENDPOINT = "/goatcounter/count"
GOATCOUNTER_SCRIPT_URL = "/goatcounter/count.js"
|