diff --git a/buildout/instance-profiles/zeo.cfg b/buildout/instance-profiles/zeo.cfg index 7f06983efc51a0e095c64a4b8e84422295f10dfc..73c38e35e13b27638c034e52d017f47ce75ab1da 100644 --- a/buildout/instance-profiles/zeo.cfg +++ b/buildout/instance-profiles/zeo.cfg @@ -1,3 +1,28 @@ +# This file is an example that shows how to setup a ZEO server and +# several ZEO clients. + [buildout] -# adapt https://svn.erp5.org/repos/public/experimental/erp5.buildout/ -# creates ZEO cluster with multiple Zopes and ZEOs (directory structure and basic configuration) +extends = zope-2.12.cfg +parts = + zeo-server + zeo-client-1 + zeo-client-2 + +[zeo-server] +recipe = plone.recipe.zeoserver +zeo-address = 8100 +eggs = + ${eggs:eggs} + +[zeo-client-template] +<= zope-instance-template +zeo-client = on +zeo-address = ${zeo_server:zeo-address} + +[zeo-client-front1] +<= zeo-client-template +http-address = 9800 + +[zeo-client-front2] +<= zeo-client-template +http-address = 9801 diff --git a/buildout/instance-profiles/zope-2.12.cfg b/buildout/instance-profiles/zope-2.12.cfg index 1cffc7a331f7ceb26c1a7dce02b73a319acd7118..bc54f4afbfdc876372815698d2e64402ff0fcaec 100644 --- a/buildout/instance-profiles/zope-2.12.cfg +++ b/buildout/instance-profiles/zope-2.12.cfg @@ -1,4 +1,3 @@ -# adapt https://svn.erp5.org/repos/public/experimental/erp5.buildout [buildout] parts = zope-instance