[commits] r116 - selinux-site/trunk/buildout

tim at mail.se.linux.org tim at mail.se.linux.org
Tors Okt 4 22:52:10 CEST 2007


Author: tim
Date: 2007-10-04 22:52:09 +0200 (Thu, 04 Oct 2007)
New Revision: 116

Added:
   selinux-site/trunk/buildout/production.cfg
Log:
Added CacheFu to the production buildout. It will cache various stuff and tell varnish when to invalidate stuff.


Added: selinux-site/trunk/buildout/production.cfg
===================================================================
--- selinux-site/trunk/buildout/production.cfg	                        (rev 0)
+++ selinux-site/trunk/buildout/production.cfg	2007-10-04 20:52:09 UTC (rev 116)
@@ -0,0 +1,70 @@
+[buildout]
+extends = base.cfg
+parts =
+    zope2
+    zeoserver
+    zopeclient1
+    dist-products
+    varnish-instance
+    varnish-build
+
+[zeoserver]
+recipe = plone.recipe.zope2zeoserver
+zope2-location = ${zope2:location}
+zeo-address = 8100
+
+[zopeclient1]
+recipe = plone.recipe.zope2instance
+zope2-location = ${zope2:location}
+zeo-client = true
+zeo-address = ${zeoserver:zeo-address}
+zodb-cache-size = 30000
+zeo-client-cache-size = 4000MB
+user = admin:admin
+http-address = 8101
+debug-mode = off
+verbose-security = off
+eggs =
+    ${instance:eggs}
+    simplon.plone.ldap
+zcml = 
+    ${instance:zcml}
+    simplon.plone.ldap
+products =
+    ${instance:products}
+    ${plone:location}/CacheFu
+    ${buildout:directory}/parts/dist-products
+
+[zopeclient2]
+recipe = plone.recipe.zope2instance
+zope2-location = ${zope2:location}
+zeo-client = true
+zeo-address = ${zopeclient1:zeo-address}
+zodb-cache-size = 10000
+zeo-client-cache-size = 2000MB
+http-address = 8102
+debug-mode = off
+verbose-security = off
+eggs = ${zopeclient1:eggs}
+zcml = ${zopeclient1:zcml}
+products = ${zopeclient1:products}
+
+[dist-products]
+recipe = plone.recipe.distros
+urls =
+    http://plone.org/products/ploneldap/releases/1.0/PloneLDAP-bundle-1.0rc3.tar.gz
+    http://plone.org/products/cachefu/releases/1.1/CacheFu-1.1.tgz
+nested-packages = CacheFu-1.1.tgz
+
+[varnish-instance]
+recipe = plone.recipe.varnish:instance
+bind = 127.0.0.1:8000
+backends =
+    127.0.0.1:8101
+cache-size = 1G
+zope2_vhm_map =
+    se.linux.org:/selinux
+
+[varnish-build]
+recipe = plone.recipe.varnish:build
+url = http://puzzle.dl.sourceforge.net/sourceforge/varnish/varnish-1.1.1.tar.gz




More information about the commits mailing list