-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker.ini
42 lines (36 loc) · 1.48 KB
/
docker.ini
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
###
# Use to pass through X-Forwarded-* headers (i.e. makes https work)
###
[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
[app:main]
use = egg:cnx-archive
filter-with = proxy-prefix
db-connection-string = dbname=repository user=rhaptos host=db port=5432
# a list of memcache servers separated by whitespace
# (memcache is disabled if no servers are given)
memcache-servers = memcached
# The number of seconds until search results cache is invalid
# (0 = cache forever)
search-cache-expiration = 3600
# The number of seconds until special search results cache is invalid (subject and single term)
# (0 = cache forever)
search-long-cache-expiration = 43200
exports-directories =
%(here)s/cnxarchive/tests/data/exports
%(here)s/cnxarchive/tests/data/exports2
# type name:file extension,mimetype,user friendly name,description
exports-allowable-types =
pdf:pdf,application/pdf,PDF,PDF file, for viewing content offline and printing.
epub:epub,application/epub+zip,EPUB,Electronic book format file, for viewing on mobile devices.
zip:zip,application/zip,Offline ZIP,An offline HTML copy of the content. Also includes XML, included media files, and other support files.
# Assigns a logging configuration for the application. The logger name for
# this application is 'cnxarchive' However, the root logger is sometimes used.
##logging-configuration = <logging.yaml (must be absolute path)>
###
# wsgi server configuration
###
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543