-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjarn.cfg
70 lines (64 loc) · 1.65 KB
/
jarn.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
[buildout]
extends =
production.cfg
cfgs/jarn.cfg
parts =
zopepy
${buildout:prod-parts}
${buildout:memcached-parts}
${buildout:varnish-parts}
${buildout:ejabberd-parts}
${buildout:cron-parts}
${buildout:supervisor-parts}
supervisor-initd
convert-template
relpy
develop =
src/intranett.policy
src/intranett.theme
src/jarn.extranet
src/Products.Extropy
src/Products.Invoice
[supervisor-conf]
input = ${buildout:directory}/templates/supervisord-jarn.conf
[instance-base]
eggs +=
psycopg2
pylibmc
zeo-client = False
zeo-address =
blob-storage =
shared-blob = off
environment-vars +=
LD_LIBRARY_PATH ${libmemcached:location}/lib
rel-storage =
type postgresql
dsn dbname='db1' user='zodbuser' host='database01.intranett.no' password='KCn25qUDfRoO}aVn'
shared-blob-dir false
blob-dir ${buildout:directory}/var/blobcache
blob-cache-size 512mb
poll-interval 60
cache-local-mb 0
cache-prefix db1
cache-servers 127.0.0.1:11211
[convert-template]
recipe = collective.recipe.template
input = inline:
<filestorage source>
path ${buildout:directory}/var/filestorage/Data.fs
blob-dir ${buildout:directory}/var/blobstorage
</filestorage>
<relstorage destination>
shared-blob-dir false
blob-dir ${buildout:directory}/var/blobcache/db1
blob-cache-size 10mb
<postgresql>
dsn dbname='db1' user='zodbuser' host='database01.intranett.no' password='KCn25qUDfRoO}aVn'
</postgresql>
</relstorage>
output = ${buildout:directory}/convert.conf
[relpy]
recipe = zc.recipe.egg
eggs =
RelStorage
psycopg2