-
Notifications
You must be signed in to change notification settings - Fork 0
/
prod.cfg
171 lines (160 loc) · 5.26 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
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
[buildout]
extends =
base.cfg
port.cfg
allow-picked-versions = false
auto-checkout =
parts +=
facts
instance-debug
zeoserver
logrotate
instance2
instance3
instance4
instance-async
[facts]
recipe = isotoma.recipe.facts
[zeoserver]
recipe = plone.recipe.zeoserver
zeo-address = ${port:zeo}
#effective-user = ${instance1:effective-user}
pack-days = 7
pack-keep-old = false
monitor-address = ${port:zeo-monitor}
zeo-conf-additional =
%define FILESTORAGE ${buildout:directory}/var/filestorage
%define BLOBSTORAGE ${buildout:directory}/var/blobstorage
%include ${buildout:directory}/zeo_add.conf
[instance1]
recipe = plone.recipe.zope2instance
http-address = ${port:instance1-http}
zeo-client = true
zeo-address = ${zeoserver:zeo-address}
zodb-cache-size = 40000
zeo-client-cache-size = 300MB
shared-blob = on
zope-conf-additional +=
<product-config five.z2monitor>
bind 127.0.0.1:${port:instance1-monitor}
</product-config>
%define ZEOADDRESS ${zeoserver:zeo-address}
%define ZEOINSTANCE ${buildout:directory}/parts/zeoserver/var
%define BLOBSTORAGE ${buildout:directory}/var/blobstorage
%include ${buildout:directory}/zope_add_zeo.conf
eggs +=
archetypes.schematuning
collective.monitor
plone.app.ldap
zcml +=
collective.monitor
plone.app.ldap
event-log-custom =
<syslog>
address logs.imio.be:5544
facility local3
format %(asctime)s ${facts:hostname} zope[%(process)s]: ${port:cluster} ${:_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>
zcml-additional =
<include package="plone.app.async" file="single_db_instance.zcml" />
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
zope_i18n_compile_mo_files true
PLONE_EXTENSION_IDS plonetheme.classic:default, plonetheme.sunburst:default, Products.urban:new_install
ADMIN_PASSWORD ${port:admin-password}
DEFAULT_LANGUAGE fr
ACTIVE_BIGBANG True
SITE_ID ${port:plone-path}
DOCUMENTGENERATOR_LOG_PARAMETERS template_uid,facetedQuery
[instance2]
<= instance1
http-address = ${port:instance2-http}
zope-conf-additional =
<product-config five.z2monitor>
bind 127.0.0.1:${port:instance2-monitor}
</product-config>
%define ZEOADDRESS ${zeoserver:zeo-address}
%define ZEOINSTANCE ${buildout:directory}/parts/zeoserver/var
%define BLOBSTORAGE ${buildout:directory}/var/blobstorage
%include ${buildout:directory}/zope_add_zeo.conf
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
zope_i18n_compile_mo_files true
DOCUMENTGENERATOR_LOG_PARAMETERS template_uid,facetedQuery
[instance3]
<= instance1
http-address = ${port:instance3-http}
zope-conf-additional =
<product-config five.z2monitor>
bind 127.0.0.1:${port:instance3-monitor}
</product-config>
%define ZEOADDRESS ${zeoserver:zeo-address}
%define ZEOINSTANCE ${buildout:directory}/parts/zeoserver/var
%define BLOBSTORAGE ${buildout:directory}/var/blobstorage
%include ${buildout:directory}/zope_add_zeo.conf
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
zope_i18n_compile_mo_files true
DOCUMENTGENERATOR_LOG_PARAMETERS template_uid,facetedQuery
[instance4]
<= instance1
http-address = ${port:instance4-http}
zope-conf-additional =
<product-config five.z2monitor>
bind 127.0.0.1:${port:instance4-monitor}
</product-config>
%define ZEOADDRESS ${zeoserver:zeo-address}
%define ZEOINSTANCE ${buildout:directory}/parts/zeoserver/var
%define BLOBSTORAGE ${buildout:directory}/var/blobstorage
%include ${buildout:directory}/zope_add_zeo.conf
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
zope_i18n_compile_mo_files true
DOCUMENTGENERATOR_LOG_PARAMETERS template_uid,facetedQuery
[instance-async]
<= instance1
http-address = ${port:instance-async-http}
zope-conf-additional =
<product-config five.z2monitor>
bind 127.0.0.1:${port:instance-async-monitor}
</product-config>
%define ZEOADDRESS ${zeoserver:zeo-address}
%define ZEOINSTANCE ${buildout:directory}/parts/zeoserver/var
%define BLOBSTORAGE ${buildout:directory}/var/blobstorage
%include ${buildout:directory}/zope_add_zeo.conf
zcml-additional =
<include package="plone.app.async" file="single_db_worker.zcml" />
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
zope_i18n_compile_mo_files true
DOCUMENTGENERATOR_LOG_PARAMETERS template_uid,facetedQuery
[instance-debug]
<= instance1
http-address = ${port:instance-debug-http}
debug-mode = on
verbose-security = on
eggs =
${instance1:eggs}
${debug:eggs}
zcml =
${instance1:zcml}
${debug:zcml}
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
zope_i18n_compile_mo_files true
PLONE_EXTENSION_IDS plonetheme.classic:default, plonetheme.sunburst:default, Products.urban:new_install
ADMIN_PASSWORD ${port:admin-password}
DEFAULT_LANGUAGE fr
ACTIVE_BIGBANG True
SITE_ID ${port:plone-path}
DOCUMENTGENERATOR_LOG_PARAMETERS template_uid,facetedQuery
[logrotate]
recipe = collective.recipe.template
input = templates/logrotate.conf
output = ${buildout:directory}/logrotate.conf