-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.cfg
105 lines (84 loc) · 2.08 KB
/
base.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
103
104
105
[buildout]
extends =
credentials.cfg
versions.cfg
memcached.cfg
ejabberd.cfg
supervisor.cfg
nginx.cfg
allow-picked-versions = false
socket-timout = 5
versions = versions
unzip = true
allow-hosts =
*.jarn.com
*.plone.org
*.python.org
base-parts =
backup
zopepy
varnish-parts =
varnish-build
varnish-config
varnish
prod-environment =
BUILDOUT_ROOT ${buildout:directory}
CHAMELEON_CACHE ${buildout:directory}/var/template_cache
PTS_LANGUAGES en, no
zope_i18n_allowed_languages en, no
zope_i18n_compile_mo_files true
[test-environment]
BUILDOUT_ROOT = ${buildout:directory}
CHAMELEON_CACHE = ${buildout:directory}/var/template_cache
PTS_LANGUAGES = en, no
zope_i18n_allowed_languages = en, no
zope_i18n_compile_mo_files = true
[ports]
instance1-http-port = 8081
instance2-http-port = 8082
[backup]
recipe = collective.recipe.backup
keep = 2
[instance-base]
recipe = plone.recipe.zope2instance
zodb-cache-size = 10000
environment-vars =
${buildout:prod-environment}
eggs =
intranett.policy
Products.PloneHotfix20130618
Products.PloneHotfix20131210
zcml =
intranett.policy-meta
intranett.policy
intranett.policy-overrides
[zopepy]
recipe = zc.recipe.egg
interpreter = zopepy
scripts = zopepy
[env]
recipe = gocept.recipe.env
[grp]
recipe = collective.recipe.grp
[varnish-build]
recipe = zc.recipe.cmmi
url = http://dist.jarn.com/public/varnish-2.1.5.tar.gz
[varnish-config]
recipe = collective.recipe.template
input = templates/varnish.vcl.in
output = ${buildout:directory}/etc/varnish.vcl
backend-host = 127.0.0.1
backend-port = 8010
[varnish]
recipe = plone.recipe.varnish
daemon = ${buildout:parts-directory}/varnish-build/sbin/varnishd
config = ${buildout:directory}/etc/varnish.vcl
bind = 127.0.0.1:8080
# You can run the following to determine how much memory is actually used:
# ./parts/varnish-build/bin/varnishstat -1 -f sm_balloc,sm_bfree
cache-size = 16M
cache-location = ${buildout:directory}/var/varnish/storage
mode = foreground
runtime-parameters =
default_ttl=0
thread_pool_max=100