source: publico/plonegovbr/buildouts/buildout_plone4/trunk/producao.cfg @ 5135

Última Alteração nesse arquivo desde 5135 foi 5134, incluída por davimedeiros, 10 anos atrás

Commit inicial buildout de desenvolvimento Plone 4

File size: 2.8 KB
Linha 
1[buildout]
2
3extends =
4    versions.cfg
5    base.cfg
6
7extensions -=
8    buildout.dumppickedversions
9
10parts +=
11    zhw
12    instance1
13    instance2
14    zeo
15    backup
16    backup-diario
17    backup-semanal
18    logrotate
19    logrotate-diario
20    supervisor
21
22overwrite-picked-versions-file = true
23
24develop =
25
26eggs +=
27
28zcml +=
29
30[zhw]
31recipe = zc.recipe.egg
32eggs = ZopeHealthWatcher
33scripts = zope_health_watcher
34
35[instance]
36http-address = ${hosts:instance}:${ports:instance}
37port-base = 1
38zodb-cache-size = 55000
39#zeo-client-cache-size = 100MB
40debug-mode = off
41#zserver-threads = 2
42zeo-client = true
43zeo-address = ${zeoserver:zeo-address}
44blob-storage = ${zeoserver:blob-storage}
45effective-user = ${users:os}
46zope-conf-additional +=
47      python-check-interval 1200
48
49[instance1]
50<=instance
51port-base=1
52
53[instance2]
54<=instance
55port-base=2
56
57[supervisor]
58recipe = collective.recipe.supervisor
59plugins =
60       supervisor>2.1
61       superlance
62port = ${ports:supervisor}
63user = ${supervisor-settings:user}
64password = ${supervisor-settings:password}
65serverurl = http://${hosts:supervisor}:${ports:supervisor}
66programs =
67    10 zeo        (autostart=true  startsecs=10)  ${zeoserver:location}/bin/runzeo                   true  ${users:zope}
68    20 instance1  (autostart=true  startsecs=30)  ${buildout:directory}/parts/instance1/bin/runzope  true  ${users:zope}
69    20 instance2  (autostart=true  startsecs=30)  ${buildout:directory}/parts/instance2/bin/runzope  true  ${users:zope}
70
71eventlisteners =
72    Memmon        TICK_60   ${buildout:directory}/bin/memmon [-p instance1=400MB -p instance2=400MB -m suporte@tangrama.com.br]
73#    HttpOk        TICK_60   ${buildout:directory}/bin/httpok [-p instance1 -t 20 http://${hosts:instance}:${ports:instance2}]
74#    CrashMail     TICK_60   ${buildout:directory}/bin/crashmail [-p in  stance1 -p instance2 -m suporte@tangrama.com.br]
75
76logfile = ${buildout:directory}/var/log/supervisord.log
77logfile_maxbytes = 5MB
78logfile_backups = 10
79loglevel = info
80pidfile = ${buildout:directory}/var/supervisord.pid
81nodaemon = false
82
83[zeo]
84recipe = plone.recipe.zope2zeoserver
85zope2-location = ${zope2:location}
86zeo-address = ${hosts:zeoserver}:${ports:zeoserver}
87blob-storage = ${zeo:zeo-var}/blobstorage
88eggs = plone.app.blob
89
90[backup]
91recipe = collective.recipe.backup
92
93[backup-diario]
94recipe = z3c.recipe.usercrontab
95times = 0 3 * * 0-6
96command = ${buildout:directory}/bin/backup
97
98[backup-semanal]
99recipe = z3c.recipe.usercrontab
100times = 0 3 * * 7
101command = ${buildout:directory}/bin/zeopack -p 8000 -d 1 && ${buildout:directory}/bin/backup
102
103[logrotate]
104recipe = collective.recipe.template
105input = etc/logrotate.conf.tmpl
106output = etc/logrotate.conf
107
108[logrotate-diario]
109recipe = z3c.recipe.usercrontab
110times = 0 6 * * *
111command = /usr/sbin/logrotate --state ${buildout:directory}/var/logrotate.status ${buildout:directory}/${logrotate:output}
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.