-
Notifications
You must be signed in to change notification settings - Fork 0
/
esoth.cfg
95 lines (83 loc) · 2.13 KB
/
esoth.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
[buildout]
extensions = mr.developer
auto-checkout =
esoth.family
esoth.media
esoth.wow
parts =
plone1
plone2
zopepy
supervisor
${buildout:haproxy-parts}
extends =
http://dist.plone.org/release/5.0.6/versions.cfg
https://raw.github.com/esoth/buildouts/master/haproxy.cfg
# Add additional eggs here
eggs =
Plone
Pillow
esoth.family
esoth.media
esoth.wow
plone.api
plone.reload
z3c.relationfield
develop =
[hosts]
plone1 = 127.0.0.1
plone2 = 127.0.0.1
supervisor = localhost
[ports]
zeo-server = 8301
plone1 = 8081
plone2 = 8082
supervisor = 9001
[sources]
esoth.family = git https://github.com/esoth/esoth.family
esoth.media = git https://github.com/esoth/esoth.media
esoth.wow = git https://github.com/esoth/esoth.wow
[instance]
recipe = plone.recipe.zope2instance
user = ${users:zope}:${passwords:zope}
debug-mode = off
http-fast-listen = off
zserver-threads = 2
zodb-cache-size = 30000
zeo-client = true
zeo-address = ${zeoserver:zeo-address}
zeo-client-cache-size = 300MB
environment-vars =
TZ America/New_York
eggs = ${buildout:eggs}
[zeoserver]
recipe = plone.recipe.zeoserver
#zope2-location = ${zope2:location}
zeo-address = ${ports:zeo-server}
[plone1]
recipe = collective.recipe.zope2cluster
instance-clone = instance
http-address = ${hosts:plone1}:${ports:plone1}
[plone2]
recipe = collective.recipe.zope2cluster
instance-clone = instance
http-address = ${hosts:plone2}:${ports:plone2}
[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
scripts = zopepy
[versions]
zc.buildout = 2.9.3
setuptools = 21.0.0
[supervisor]
recipe = collective.recipe.supervisor
port = ${ports:supervisor}
user = ${users:supervisor}
password = ${passwords:supervisor}
serverurl = http://${hosts:supervisor}:${ports:supervisor}
programs =
10 zeoserver (autostart=true) ${buildout:directory}/bin/zeoserver [console] true ec2-user
20 plone1 ${buildout:directory}/bin/plone1 [console] true ec2-user
20 plone2 ${buildout:directory}/bin/plone2 [console] true ec2-user
30 haproxy ${buildout:directory}/bin/haproxy [-D -f ${buildout:directory}/etc/haproxy.conf] true ec2-user