This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduction.cfg
102 lines (81 loc) · 2.78 KB
/
production.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
[buildout]
extends = base.cfg
extensions =
mr.developer
# buildout.threatlevel
parts +=
pound-build
pound-config
zeo
instance1
instance2
instance3
supervisor
sources = sources
auto-checkout =
scoreboard.visualization
edw.datacube
scoreboard.theme
[sources]
scoreboard.visualization = git https://github.com/digital-agenda-data/scoreboard.visualization.git [email protected]:digital-agenda-data/scoreboard.visualization.git branch=master
edw.datacube = git https://github.com/digital-agenda-data/edw.datacube.git [email protected]:digital-agenda-data/edw.datacube.git branch=master
scoreboard.theme = git https://github.com/digital-agenda-data/scoreboard.theme.git [email protected]:digital-agenda-data/scoreboard.theme.git branch=master
[serversdef]
zeo = 127.0.0.1:8430
pound = 127.0.0.1:8440
instance1 = 127.0.0.1:8441
instance2 = 127.0.0.1:8442
instance3 = 127.0.0.1:8443
supervisor = 127.0.0.1:8420
[supervisor]
recipe = collective.recipe.supervisor
plugins = superlance
user = scoreboard
password = Eix4iog8
serverurl = http://${serversdef:supervisor}
port = ${serversdef:supervisor}
programs =
10 zeo ${buildout:bin-directory}/zeo [fg] ${zeo:location}
20 memcached (stopasgroup=true) ${buildout:bin-directory}/memcached [run]
30 pound ${buildout:bin-directory}/poundrun ${buildout:directory}
40 instance1 ${buildout:bin-directory}/instance1 [console] ${instance1:location}
50 instance2 ${buildout:bin-directory}/instance2 [console] ${instance2:location}
60 instance3 ${buildout:bin-directory}/instance3 [console] ${instance3:location}
[zeo]
recipe = plone.recipe.zeoserver
zeo-address = ${serversdef:zeo}
blob-storage = ${buildout:directory}/var/blobstorage
file-storage = ${buildout:directory}/var/filestorage/Data.fs
[instance1]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = ${serversdef:instance1}
debug-mode = off
zeo-client = True
zeo-address = ${zeo:zeo-address}
blob-storage = ${zeo:blob-storage}
file-storage = ${zeo:file-storage}
shared-blob = on
eggs = ${buildout:eggs}
zcml = ${buildout:zcml}
environment-vars = ${buildout:environment-vars}
effective-user = ${buildout:effective-user}
[instance2]
recipe = collective.recipe.zope2cluster
instance-clone = instance1
http-address = ${serversdef:instance2}
[instance3]
recipe = collective.recipe.zope2cluster
instance-clone = instance1
http-address = ${serversdef:instance3}
[pound-build]
recipe = plone.recipe.pound:build
url = http://www.apsis.ch/pound/Pound-2.6.tgz
owner = ${buildout:effective-user}
group = ${buildout:effective-user}
[pound-config]
recipe = plone.recipe.pound:config
daemon = 0
timeout = 90
balancers =
scoreboard ${serversdef:pound} ${serversdef:instance1},1,60 ${serversdef:instance2},1,60 ${serversdef:instance3},1,60