|
1 [buildout] |
|
2 extends = http://download.ztfy.org/pyams/pyams-{{ cookiecutter.pyams_release }}.cfg |
|
3 find-links = http://download.ztfy.org/eggs/ |
|
4 |
|
5 socket-timeout = 3 |
|
6 show-picked-versions = true |
|
7 newest = false |
|
8 |
|
9 allow-hosts = |
|
10 *.python.org |
|
11 *.sourceforge.net |
|
12 github.com |
|
13 bitbucket.org |
|
14 download.ztfy.org |
|
15 |
|
16 versions = versions |
|
17 eggs-directory = {{ cookiecutter.eggs_directory }} |
|
18 |
|
19 parts = |
|
20 zodb |
|
21 zdaemon |
|
22 {{ cookiecutter.project_slug }} |
|
23 |
|
24 [zodb] |
|
25 recipe = zc.recipe.egg:script |
|
26 eggs = ZEO |
|
27 |
|
28 [zdaemon] |
|
29 recipe = zc.recipe.egg:script |
|
30 eggs = zdaemon |
|
31 |
|
32 [{{ cookiecutter.project_slug }}] |
|
33 name = {{ cookiecutter.project_slug }} |
|
34 recipe = zc.zodbrecipes:server |
|
35 zeo.conf = |
|
36 <zeo> |
|
37 address {{ cookiecutter.zeo_server_port }} |
|
38 {%- if cookiecutter.zeo_monitor_port != 0 %} |
|
39 monitor-address 8101 |
|
40 {%- endif %} |
|
41 read-only false |
|
42 invalidation-queue-size 100 |
|
43 transaction-timeout 300 |
|
44 authentication-protocol digest |
|
45 authentication-database $((INSTALL))/etc/auth.db |
|
46 authentication-realm {{ cookiecutter.project_name }} |
|
47 </zeo> |
|
48 <blobstorage {{ cookiecutter.project_slug }}> |
|
49 blob-dir $((INSTALL))/var/db/blobs |
|
50 <filestorage {{ cookiecutter.project_slug }}> |
|
51 path $((INSTALL))/var/db/Data.fs |
|
52 </filestorage> |
|
53 </blobstorage> |
|
54 <eventlog> |
|
55 level info |
|
56 <logfile> |
|
57 path {{ cookiecutter.logs_directory }}/{{ cookiecutter.project_slug }}-zeo.log |
|
58 </logfile> |
|
59 </eventlog> |
|
60 deployment = zeo |
|
61 pack = 10 4 * * * 0 {{ cookiecutter.zeo_pack_report }} |
|
62 shell-script = true |
|
63 |
|
64 [zeo] |
|
65 etc-directory = $((INSTALL))/etc |
|
66 crontab-directory = $((INSTALL))/etc/cron.d |
|
67 log-directory = {{ cookiecutter.logs_directory }} |
|
68 logrotate-directory = $((INSTALL))/etc/logrotate.d |
|
69 rc-directory = $((INSTALL))/etc/init.d |
|
70 run-directory = $((INSTALL))/var |
|
71 user = {{ cookiecutter.run_user }} |
|
72 |
|
73 [versions] |