-
Notifications
You must be signed in to change notification settings - Fork 1
/
prod.cfg
59 lines (53 loc) · 1.36 KB
/
prod.cfg
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
[buildout]
extends =
backup.cfg
base.cfg
sources.cfg
allow-picked-versions = false
parts +=
instance-debug
[instance]
http-address = 8080
shared-blob = on
blob-storage = /data/blobstorage
user = admin:admin
zodb-cache-size = $(ZODB_CACHE_SIZE)
zeo-client-cache-size = $(ZEO_CLIENT_CACHE_SIZE)
event-log-custom =
<syslog>
address $(LOGS_SERVER)
facility local3
format %(asctime)s $(HOSTNAME_HOST) zope[%(process)s]: $(PROJECT_ID) ${:_buildout_section_name_} [%(levelname)s] %(name)s | %(message)s
dateformat %b %d %H:%M:%S
level info
</syslog>
<logfile>
path ${buildout:directory}/var/log/${:_buildout_section_name_}.log
level info
</logfile>
eggs +=
pylibmc
psycopg2
Relstorage[postgresql]
threads = 2
rel-storage =
type postgresql
dsn dbname='$(RELSTORAGE_DB)' user='$(RELSTORAGE_USER)' host='$(RELSTORAGE_HOSTNAME)' port='$(RELSTORAGE_PORT)' password='$(RELSTORAGE_PASSWORD)'
shared-blob-dir true
blob-dir /data/blobstorage
cache-servers $(MEMCACHE_SERVER):11211
cache-prefix $(PROJECT_ID)
[instance-debug]
<= instance
debug-mode = on
verbose-security = on
eggs =
${instance:eggs}
${debug-products:eggs}
zcml =
${instance:zcml}
event-log-custom =
<logfile>
path /data/log/${:_buildout_section_name_}.log
level debug
</logfile>