-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployment.cfg
More file actions
122 lines (99 loc) · 2.77 KB
/
deployment.cfg
File metadata and controls
122 lines (99 loc) · 2.77 KB
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
[buildout]
extends = buildout.cfg
effective-user =
parts +=
worker
zeo
instance2
debug
varnish
varnish-build
[instance]
effective-user = ${buildout:effective-user}
zodb-cache-size = 3000
zeo-client-cache-size = 512MB
zcml-additional =
<include package="plone.app.async" file="multi_db_instance.zcml" />
environment-vars =
PYTHON_EGG_CACHE ${buildout:pyeggcache-directory}
PATH /var/lib/gems/1.8/gems/docsplit-0.6.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ZC_ASYNC_UUID ${buildout:directory}/var/${:_buildout_section_name_}-uuid.txt
zope-conf-additional +=
<product-config zc.z3monitor>
port 1${:http-address}
</product-config>
<zodb_db async>
cache-size ${instance:zodb-cache-size}
<zeoclient>
server ${zeo:zeo-address}
storage 2
name asyncstorage
blob-dir ${zeo:blob-storage}
shared-blob-dir on
var ${buildout:parts-directory}/${:_buildout_section_name_}/var
cache-size ${instance:zeo-client-cache-size}
</zeoclient>
mount-point /zasync
</zodb_db>
zeo-client = True
zeo-address = ${zeo:zeo-address}
blob-storage = ${zeo:blob-storage}
shared-blob = on
[instance2]
<= instance
http-address = 8081
[debug]
<= instance
http-address = 8089
[worker]
<= instance
http-address = 8090
zodb-cache-size = 3000
zeo-client-cache-size = 512MB
zcml-additional =
<include package="plone.app.async" file="multi_db_worker.zcml" />
zope-conf-additional +=
<zodb_db async>
cache-size ${worker:zodb-cache-size}
<zeoclient>
server ${zeo:zeo-address}
storage 2
name asyncstorage
blob-dir ${zeo:blob-storage}
shared-blob-dir on
var ${buildout:parts-directory}/worker/var
cache-size ${worker:zeo-client-cache-size}
</zeoclient>
mount-point /zasync
</zodb_db>
<clock-server>
method /mc/feed-mega-update
period 3600 # seconds
user admin
password 123
host localhost:8090
</clock-server>
[zeo]
effective-user = ${buildout:effective-user}
recipe = plone.recipe.zeoserver
zeo-address = 127.0.0.1:8100
zeo-var = ${buildout:directory}/var
blob-storage = ${zeo:zeo-var}/blobstorage
eggs =
plone.recipe.zeoserver
plone.app.blob
zeo-conf-additional =
<filestorage 2>
path ${buildout:directory}/var/filestorage/Async.fs
</filestorage>
[varnish-build]
recipe = zc.recipe.cmmi
url = http://repo.varnish-cache.org/source/varnish-2.1.5.tar.gz
[varnish]
recipe = plone.recipe.varnish
daemon = ${buildout:parts-directory}/varnish-build/sbin/varnishd
bind = :80
balancer = random
backends = mc.reddplusid.org:127.0.0.1:8080
mc.reddplusid.org:127.0.0.1:8081
cache-size = 256M