forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenlibrary.yml
188 lines (147 loc) · 4.19 KB
/
openlibrary.yml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# Open Library Docker (dev) configuration
connection_type: hybrid
site: openlibrary.org
from_address: "Open Library <noreply@openlibrary.org>"
report_spam_address: "Open Library <info@openlibrary.org>"
support_case_notification_address: "Open Library <info@openlibrary.org>"
support_case_control_address: "support@openlibrary.org"
smtp_server: localhost
dummy_sendmail: True
debug: True
coverstore_url: http://covers:7075
state_dir: var/run
# enable http compression
use_gzip: True
admin_password: admin123
errorlog: /var/log/openlibrary/ol-errors
login_cookie_name: session
infobase_server: infobase:7000
# contents of this file are assigned to config["infobase"]
# Path can be relative to this file
infobase_config_file: infobase.yml
coverstore_config_file: coverstore.yml
loanstatus_url: http://localhost/
ia_access_secret: foobar
memcache_servers:
- memcached:11211
plugin_modules:
- openlibrary
- infogami.plugins.links
- infogami.plugins.api
plugin_worksearch:
solr_base_url: http://solr:8983/solr
spellcheck_count: 3
ebook_count_db_parameters:
db: openlibrary_ebook_count
host: localhost
http_request_timeout: 10
stats_solr: solr:8983
features:
cache_most_recent: enabled
dev: enabled
history_v2: admin
inlibrary: enabled
lending_v2: enabled
lists: enabled
merge-authors:
filter: usergroup
usergroup: /usergroup/librarians
merge-editions: admin
publishers: enabled
recentchanges_v2: enabled
stats: enabled
stats-header: enabled
superfast: enabled
support: admin
undo: enabled
upstream: enabled
user_metadata:
filter: usergroup
usergroup: /usergroup/beta-testers
upstream_to_www_migration: true
default_template_root: /upstream
css_root: /upstream/css
js_root: /upstream/js
use_google_cdn: false
logging_config_file: conf/logging.ini
email_config_file: conf/email.ini
lists:
seeds_db: http://localhost:5984/seeds
editions_db: http://localhost:5984/editions
works_db: http://localhost:5984/works
editions_view: http://localhost:5984/editions/_fti/_design/seeds/by_seed
admin:
nagios_url: http://monitor.us.archive.org/cgi-bin/nagios3/status.cgi?hostgroup=24.openlibrary&style=detail
statsd_server: localhost:9090
admin_db: http://localhost:5984/admin
stats: # This section is used to state what stats need to be gathered.
pageload.all:
filter: all
time: total
pageload.books:
filter: url
pattern: /books/OL\d+M
time: total
pageload.works:
filter: url
pattern: /works/OL\d+M
time: total
pageload.authors:
filter: url
pattern: /authors/OL\d+M
time: total
pageload.author:
filter: url
pattern: /authors/OL\d+M
time: total
pageload.home:
filter: url
pattern: ^/$
time: total
pageload.recentchanges:
filter: url
pattern: /recentchanges
time: total
pageload.lists:
filter: url
pattern: /lists
time: total
ol.pageload.readapi:
filter: url
pattern: /api/volumes/.*
time: total
# prefixes ignored for /books/ia:xxx URLs and new-solr-updater.py
ia_ignore_prefixes:
- "jstor-"
- "imslp-"
- "nasa_techdoc_"
- "gov.uscourts."
plugin_recaptcha:
public_key: ''
private_key: ''
plugin_inside:
search_endpoint: https://be-api.us.archive.org/fts/v1/search
affiliate_ids:
# Amazon is a book source, not just an affiliate, so we make its affiliate
# tag generally available
amazon: internetarchi-20
ia_ol_xauth_s3:
s3_key: XXX
s3_secret: XXX
ia_loan_api_url: http://localhost/internal/fake/loans
ia_xauth_api_url: http://localhost/internal/fake/xauth
internal_tests_api_key: 8oPd1tx747YH374ohs48ZO5s2Nt1r9yD
ia_availability_api_v2_url: https://archive.org/services/availability/
ia_base_url: https://archive.org
ia_civicrm_api:
url: http://localhost/internal/fake/civicrm
api_key: XXX
site_key: XXX
auth: XXX
sentry:
enabled: false
# Dummy endpoint; where sentry logs are sent to
dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'
environment: 'local'
# The Best Book On integration
tbbo_url: https://thebestbookon.com