-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.cfg
115 lines (102 loc) · 3.29 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
106
107
108
109
110
111
112
113
114
115
[buildout]
extends =
https://raw.githubusercontent.com/euphorie/Euphorie/15.3.0.dev3/buildout.cfg
picked_versions.cfg
parts +=
supervisor
oirascripts
alembic.ini
upgrade
find-links +=
https://spypi.syslab.com/packages/
allow-picked-versions = false
develop =
[settings]
postgres-url = postgresql://XXXX:XXXX@localhost/euphorie
postgres-url-statistics = postgresql://XXXX:XXXX@localhost/{database}
countries = eu,be,bg,de,hr,cy,cz,fi,fr,gr,hu,is,it,lv,lt,mt,nl,pt,si,sk,es
smartprintng-url = http://127.0.0.1:6543
http-address = 8080
zeo-address = 8020
sqlalchemy_echo = false
library=/sectors/eu/library
blob-storage = ${buildout:directory}/var/blobstorage
[zeo]
recipe = plone.recipe.zeoserver
zeo-address = ${settings:zeo-address}
zeo-var = ${buildout:directory}/var
blob-storage = ${settings:blob-storage}
[instance]
http-address = ${settings:http-address}
zeo-client = on
zeo-address = ${settings:zeo-address}
blob-storage = ${settings:blob-storage}
wsgi-ini-template = ${buildout:directory}/templates/wsgi.ini
shared-blob = yes
eggs+=
osha.oira
oira.statistics.tools
zope.app.publication
psycopg2
# Products.LongRequestLogger
Products.MemcachedManager
slowlog
collective.honeypot
eggs -=
Products.PDBDebugMode
zcml =
osha.oira
oira.statistics.tools
euphorie.deployment-meta
euphorie.deployment
euphorie.deployment-overrides
zcml-additional =
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:db="http://namespaces.zope.org/db">
<include package="z3c.saconfig" file="meta.zcml" />
<db:engine name="session" url="${settings:postgres-url}" echo="${settings:sqlalchemy_echo}" />
<db:session engine="session" />
</configure>
environment-vars =
PREFER_Z3C_PT 1
CHAMELEON_DEBUG 0
zope_i18n_compile_mo_files 1
HONEYPOT_FIELD detection_verified
zope-conf-additional +=
<product-config LongRequestLogger>
logfile ${buildout:directory}/var/log/${:_buildout_section_name_}-longrequest.log
timeout 4
interval 2
</product-config>
<product-config osha.oira>
postgres-url-statistics ${settings:postgres-url-statistics}
</product-config>
event-log-handler = logging.handlers.TimedRotatingFileHandler
event-log-args = ("${buildout:directory}/var/log/${:_buildout_section_name_}.log",)
event-log-kwargs = {"when": "D", "interval": 1, "backupCount": 14}
access-log-handler = logging.handlers.TimedRotatingFileHandler
access-log-args = ("${buildout:directory}/var/log/${:_buildout_section_name_}-Z2.log",)
access-log-kwargs = {"when": "D", "interval": 1, "backupCount": 14}
[versions]
setuptools =
zc.buildout =
# Please also update the extends above to match this Euphorie version
Euphorie = 15.3.0.dev4
osha.oira = 10.0.4
[oirascripts]
recipe = zc.recipe.egg:scripts
eggs = ${instance:eggs}
[supervisor]
recipe = collective.recipe.supervisor
plugins = superlance
http-socket = unix
file = ${buildout:directory}/var/supervisord.sock
programs =
100 zope ${buildout:directory}/bin/instance [console] ${instance:location} true
[alembic.ini]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/${:_buildout_section_name_}
output = ${buildout:directory}/etc/${:_buildout_section_name_}
[upgrade]
recipe = zc.recipe.egg:scripts
eggs = ftw.upgrade