-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopenlibrary.yml
More file actions
205 lines (160 loc) · 4.58 KB
/
Copy pathopenlibrary.yml
File metadata and controls
205 lines (160 loc) · 4.58 KB
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# Open Library fastcgi 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"
# Legal values for support_default_assignees are
#
# bug_report
# borrowing_books
# buying_books
# contact_an_author
# deletion_request
# developer/api/covers_question
# editing_problem
# image_upload
# login_trouble
# spam_report
# other
#
# and
#
# default (in case there is no special email address for the given category)
support_default_assignees:
developer/api/covers_question/bug_report: "noufal+bugs@gmail.com"
default: "noufal+default@gmail.com"
smtp_server: "localhost"
dummy_sendmail: True
debug: True
coverstore_url: "http://0.0.0.0:8080/covers/"
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: "localhost: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
#dev_instance: True
dev_instance_url: http://127.0.0.1:8080/
memcache_servers:
- "localhost:11211"
plugin_modules:
- openlibrary
- infogami.plugins.links
- infogami.plugins.api
plugin_worksearch:
solr: "localhost:8983"
spellcheck_count: 3
ebook_count_db_parameters:
db: 'openlibrary_ebook_count'
host: 'localhost'
ia_ol_xauth_s3:
s3_key: XXX
s3_secret: XXX
ia_loan_api_url: http://127.0.0.1:8080/internal/fake/loans
ia_availability_api_url: http://127.0.0.1:8080/internal/fake/availability
ia_xauth_api_url: http://127.0.0.1:8080/internal/fake/xauth
http_request_timeout: 10
stats_solr: "localhost:8983"
features:
upstream: enabled
cache_most_recent: enabled
recentchanges_v2: enabled
history_v2: admin
merge-authors:
filter: usergroup
usergroup: /usergroup/librarians
merge-editions: admin
undo: enabled
dev: enabled
lists: enabled
lending_v2: enabled
stats: enabled
stats-header: enabled
inlibrary: enabled
support: admin
dev: enabled
superfast: enabled
publishers: enabled
languages: enabled
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://127.0.0.1:5984/seeds
editions_db: http://127.0.0.1:5984/editions
works_db: http://127.0.0.1:5984/works
editions_view: http://127.0.0.1:5984/editions/_fti/_design/seeds/by_seed
admin:
#counts_db: http://127.0.0.1:5984/admin
olsystem_root: /home/noufal/projects/OL/olsystem/
nagios_url: http://monitor.us.archive.org/cgi-bin/nagios3/status.cgi?hostgroup=24.openlibrary&style=detail
statsd_server: localhost:9090
admin_db: http://127.0.0.1:5984/admin
celery: #Information relevant to celery configuration
tombstone_db: http://localhost:5984/celery
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
libraries_admin_email: admin@dev-instance
graphite_base_url: "http://ol-admin.us.archive.org:7080"
geoip_database: var/cache/GeoLiteCity.dat
# 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: ""
affiliate_ids:
# Amazon is a book source, not just an affiliate, so we make its affiliate
# tag generally available
amazon: internetarchi-20
internal_tests_api_key: '8oPd1tx747YH374ohs48ZO5s2Nt1r9yD'