-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.cfg
58 lines (47 loc) · 1.35 KB
/
deployment.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
[buildout]
extends = buildout.cfg releaseversions.cfg site.cfg
effective-user = ${site:effective-user}
parts +=
instance2
zeoserver
varnish-config
haproxy-config
find-links +=
${buildout:directory}/egg_repo
auto-checkout =
sources = nosources
[versions]
docutils = 0.9.1
Products.PloneHotfix20121106 = 1.2
[nosources]
[instance]
http-address = ${site:instance-host}:${site:instance-port}
zeo-address = ${zeoserver:zeo-address}
zeo-client = on
shared-blob = on
zodb-cache-size = ${site:zodb-cache-size}
[instance2]
<= instance
http-address = ${site:instance2-host}:${site:instance2-port}
[zeoserver]
recipe = plone.recipe.zeoserver
zeo-address = ${site:zeoserver-address}
zeo-log = ${buildout:log-directory}/${:_buildout_section_name_}.log
file-storage = ${buildout:data-directory}/filestorage/Data.fs
blob-storage = ${buildout:data-directory}/blobstorage/
effective-user = ${site:effective-user}
pack-days = 30
[varnish-config]
recipe = collective.recipe.template
input = templates/varnish.vcl.in
output = ${buildout:directory}/etc/varnish.vcl
# misc template variables
backend-host = ${site:haproxy-host}
backend-port = ${site:haproxy-port}
[haproxy-config]
recipe = collective.recipe.template
input = templates/haproxy.cfg.in
output = ${buildout:directory}/etc/haproxy.cfg
user = ${site:haproxy-user}
group = ${site:haproxy-group}
maxconn = 1000