declare more instances (#4445)
This commit is contained in:
parent
a331caabe3
commit
778e9f8709
107
staging.cfg
107
staging.cfg
|
@ -7,6 +7,18 @@ parts +=
|
|||
instance1
|
||||
instance2
|
||||
instance3
|
||||
instance4
|
||||
instance5
|
||||
instance6
|
||||
instance7
|
||||
instance8
|
||||
instance9
|
||||
instance10
|
||||
instance11
|
||||
instance12
|
||||
instance13
|
||||
instance14
|
||||
instance15
|
||||
instance-debug
|
||||
worker
|
||||
varnish-build
|
||||
|
@ -21,6 +33,18 @@ zeoserver = 127.0.0.1
|
|||
instance1 = 127.0.0.1
|
||||
instance2 = 127.0.0.1
|
||||
instance3 = 127.0.0.1
|
||||
instance4 = 127.0.0.1
|
||||
instance5 = 127.0.0.1
|
||||
instance6 = 127.0.0.1
|
||||
instance7 = 127.0.0.1
|
||||
instance8 = 127.0.0.1
|
||||
instance9 = 127.0.0.1
|
||||
instance10 = 127.0.0.1
|
||||
instance11 = 127.0.0.1
|
||||
instance12 = 127.0.0.1
|
||||
instance13 = 127.0.0.1
|
||||
instance14 = 127.0.0.1
|
||||
instance15 = 127.0.0.1
|
||||
instance-debug = 127.0.0.1
|
||||
worker = 127.0.0.1
|
||||
varnish = 0.0.0.0
|
||||
|
@ -32,11 +56,24 @@ zeoserver = ${v:port-base}10
|
|||
instance1 = ${v:port-base}81
|
||||
instance2 = ${v:port-base}82
|
||||
instance3 = ${v:port-base}83
|
||||
worker = ${v:port-base}89
|
||||
instance4 = ${v:port-base}84
|
||||
instance5 = ${v:port-base}85
|
||||
instance6 = ${v:port-base}86
|
||||
instance7 = ${v:port-base}87
|
||||
instance8 = ${v:port-base}88
|
||||
instance9 = ${v:port-base}89
|
||||
instance10 = ${v:port-base}90
|
||||
instance11 = ${v:port-base}91
|
||||
instance12 = ${v:port-base}92
|
||||
instance13 = ${v:port-base}93
|
||||
instance14 = ${v:port-base}94
|
||||
instance15 = ${v:port-base}95
|
||||
|
||||
worker = ${v:port-base}79
|
||||
instance-debug = ${v:port-base}80
|
||||
varnish = ${v:port-base}50
|
||||
haproxy = ${v:port-base}55
|
||||
supervisor = ${v:port-base}91
|
||||
supervisor = ${v:port-base}78
|
||||
|
||||
[users]
|
||||
zope = zope
|
||||
|
@ -67,6 +104,54 @@ http-address = ${hosts:instance2}:${ports:instance2}
|
|||
<= instance1
|
||||
http-address = ${hosts:instance3}:${ports:instance3}
|
||||
|
||||
[instance4]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance4}:${ports:instance4}
|
||||
|
||||
[instance5]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance5}:${ports:instance5}
|
||||
|
||||
[instance6]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance6}:${ports:instance6}
|
||||
|
||||
[instance7]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance7}:${ports:instance7}
|
||||
|
||||
[instance8]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance8}:${ports:instance8}
|
||||
|
||||
[instance9]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance9}:${ports:instance9}
|
||||
|
||||
[instance10]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance10}:${ports:instance10}
|
||||
|
||||
[instance11]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance11}:${ports:instance11}
|
||||
|
||||
[instance12]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance12}:${ports:instance12}
|
||||
|
||||
[instance13]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance13}:${ports:instance13}
|
||||
|
||||
[instance14]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance14}:${ports:instance14}
|
||||
|
||||
[instance15]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance15}:${ports:instance15}
|
||||
|
||||
[instance-debug]
|
||||
<= instance1
|
||||
http-address = ${hosts:instance-debug}:${ports:instance-debug}
|
||||
|
@ -100,9 +185,21 @@ supervisord-conf = ${buildout:directory}/etc/supervisord.conf
|
|||
serverurl = http://${hosts:supervisor}:${ports:supervisor}
|
||||
programs =
|
||||
10 zeoserver ${zeoserver:location}/bin/runzeo ${zeoserver:location} true ${users:zope}
|
||||
20 instance1 ${buildout:bin-directory}/instance1 [console] ${instance1:location} true
|
||||
30 instance2 ${buildout:bin-directory}/instance2 [console] ${instance2:location} true
|
||||
40 instance3 ${buildout:bin-directory}/instance3 [console] ${instance3:location} true
|
||||
21 instance1 ${buildout:bin-directory}/instance1 [console] ${instance1:location} true
|
||||
22 instance2 ${buildout:bin-directory}/instance2 [console] ${instance2:location} true
|
||||
23 instance3 ${buildout:bin-directory}/instance3 [console] ${instance3:location} true
|
||||
24 instance4 ${buildout:bin-directory}/instance4 [console] ${instance4:location} true
|
||||
25 instance5 ${buildout:bin-directory}/instance5 [console] ${instance5:location} true
|
||||
26 instance6 ${buildout:bin-directory}/instance6 [console] ${instance6:location} true
|
||||
27 instance7 ${buildout:bin-directory}/instance7 [console] ${instance7:location} true
|
||||
28 instance8 ${buildout:bin-directory}/instance8 [console] ${instance8:location} true
|
||||
29 instance9 ${buildout:bin-directory}/instance9 [console] ${instance9:location} true
|
||||
30 instance10 ${buildout:bin-directory}/instance10 [console] ${instance10:location} true
|
||||
31 instance11 ${buildout:bin-directory}/instance11 [console] ${instance11:location} true
|
||||
32 instance12 ${buildout:bin-directory}/instance12 [console] ${instance12:location} true
|
||||
33 instance13 ${buildout:bin-directory}/instance13 [console] ${instance13:location} true
|
||||
34 instance14 ${buildout:bin-directory}/instance14 [console] ${instance14:location} true
|
||||
35 instance15 ${buildout:bin-directory}/instance15 [console] ${instance15:location} true
|
||||
50 worker ${buildout:bin-directory}/worker [console] ${worker:location} true
|
||||
60 haproxy ${buildout:bin-directory}/haproxy [-f ${buildout:directory}/etc/haproxy.conf -db] true
|
||||
65 solr ${buildout:bin-directory}/solr-instance [fg] ${solr-instance:location} true
|
||||
|
|
Reference in New Issue