source: eduCommons.buildout/trunk/deployment.cfg @ 471

Revision 471, 2.6 KB checked in by brent, 4 years ago (diff)

Added multiple instances.

Line 
1[buildout]
2extends =
3    buildout.cfg
4
5parts =
6    zope2
7    productdistros
8    fss
9    zopepy
10    zeoserver
11    instance1
12    instance2
13    debug-instance
14    plonesite
15    test
16    test-coverage
17    coverage-report
18
19
20# Do not load any development eggs
21develop =
22
23
24[zeoserver]
25recipe = plone.recipe.zope2zeoserver
26zope2-location = ${instance:zope2-location}
27zeo-address = ${instance:zeo-address}
28
29[instance1]
30recipe = collective.recipe.zope2cluster
31instance-clone = instance
32zope2-location = ${zope2:location}
33zeo-client = true
34zeo-address = ${zeoserver:zeo-address}
35debug-mode = off
36verbose-security = off
37zodb-cache-size = 5000
38zeo-client-cache-size = 300MB
39http-address = 8080
40effective-user = educommons
41zodb-temporary-storage =
42    <zodb_db temporary>
43      <zeoclient>
44        server 127.0.0.1:8100
45        storage temp
46        name zeostorage
47        var ${buildout.directory}/var/filestorage
48      </zeoclient>
49      mount-point /temp-folder
50      container-class Products.TemporaryFolder.TemporaryContainer
51    </zodb_db>
52eggs += Products.CacheSetup
53environment-vars =
54    PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
55 
56[instance2]
57recipe = collective.recipe.zope2cluster
58instance-clone = instance
59zope2-location = ${zope2:location}
60zeo-client = true
61zeo-address = ${zeoserver:zeo-address}
62debug-mode = off
63verbose-security = off
64zodb-cache-size = 5000
65zeo-client-cache-size = 300MB
66http-address = 8081
67effective-user = educommons
68zodb-temporary-storage = ${instance1:zodb-temporary-storage}
69eggs = ${instance1:eggs}
70environment-vars = ${instance1:environment-vars}
71 
72[debug-instance]
73recipe = collective.recipe.zope2cluster
74instance-clone = instance
75http-address = 8090
76debug-mode = on
77verbose-security = on
78
79[plonesite]
80recipe = collective.recipe.plonesite
81site-id = eduCommons
82instance = instance
83zeoserver = zeoserver
84profiles =
85    collective.plonebookmarklets:default
86    collective.contentlicensing:default
87    collective.imstransport:default
88    collective.jaop:default
89    collective.oaiintercom:default
90    collective.searchandreplace:default
91    collective.zipfiletransport:default
92    enpraxis.leftskin:default
93    enpraxis.staticsite:default
94    enpraxis.educommons:default
95    enpraxis.wordpressexchange:default
96    iw.fss:default
97    Products.CMFPlacefulWorkflow:CMFPlacefulWorkflow
98    plone.app.iterate:plone.app.iterate
99    Products.CacheSetup:default
100    Products.LinguaPlone:LinguaPlone
101
102[fss]
103recipe = iw.recipe.fss
104zope-instances =
105    ${instance:location}
106storages =
107    global / directory ${buildout:directory}/var/fss_storage ${buildout:directory}/var/fss_backup
108
109
Note: See TracBrowser for help on using the repository browser.