-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
124 lines (101 loc) · 2.39 KB
/
buildout.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[buildout]
allow-hosts =
*.plone.org
*.python.org
*.pythonpackages.com
extensions = buildout.bootstrap
extends = http://dist.plone.org/release/4.2-latest/versions.cfg
find-links = http://dist.plone.org/thirdparty/elementtree-1.2.7-20070827-preview.zip
parts =
plone
zeo
zopeconf
development-conf
production-conf
gunicorn
backup
backup-daily
pack-monthly
ln
supervisor
zserver-patch
versions = versions
[plone]
recipe = plone.recipe.zope2instance
dependent-scripts = true
eggs =
PasteScript
Pillow
plonetheme.sunburst
Plone
WebError
repoze.retry
repoze.tm2
repoze.vhm
user = admin:admin
scripts = paster
zeo-client = true
shared-blob = on
zeo-address = ${ports:zeo}
[zopeconf]
recipe = collective.recipe.template
input = templates/zope.conf.in
output = ${buildout:parts-directory}/plone/etc/zope.conf
[zeo]
recipe = plone.recipe.zeoserver
eggs = ${plone:eggs}
zeo-address = ${ports:zeo}
[development-conf]
recipe = collective.recipe.template
input = templates/development.in
output = ${buildout:directory}/development.ini
[production-conf]
recipe = collective.recipe.template
input = templates/production.in
output = ${buildout:directory}/production.ini
[gunicorn]
recipe = zc.recipe.egg:scripts
dependent-scripts = true
eggs =
${plone:eggs}
eventlet
gunicorn
[ln]
# set development ini as active by default
recipe = collective.recipe.cmd
on_install=true
cmds= ln -s development.ini active.ini
[supervisor]
recipe = collective.recipe.supervisor
programs =
# prio name proc parameters
0 zeo ${buildout:directory}/bin/zeo [ fg ]
0 gunicorn ${buildout:directory}/bin/gunicorn_paster [ ${buildout:directory}/active.ini ]
port = ${ports:supervisor}
serverurl = http://${hosts:localhost}:${ports:supervisor}
[ports]
supervisor = 9001
plone = 8080
zeo = 8100
main = 8000
[hosts]
localhost = 127.0.0.1
any = 0.0.0.0
[backup]
recipe = collective.recipe.backup
[backup-daily]
recipe = z3c.recipe.usercrontab
times = 0 0 * * *
command = ${buildout:bin-directory}/bin/backup
[pack-monthly]
recipe = z3c.recipe.usercrontab
times = 0 0 1 * *
command = ${buildout:bin-directory}/bin/zeopack
[versions]
distribute = 0.6.25
zc.buildout = 1.5.2
gunicorn = 0.14.2
[zserver-patch]
recipe = collective.recipe.patch
egg = Zope2==2.13.13
patches = zserver.patch