-
Notifications
You must be signed in to change notification settings - Fork 10
/
local_production.cfg
68 lines (59 loc) · 1.71 KB
/
local_production.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
# This is a deployment-buildout common to all sites.
# To test a deployment locally change the variables backupdir and vardir
[buildout]
# If you want you can have your eggs picked
# allow-picked-versions = true
zeoclients +=
zeoclient2
# comment out what you need
parts +=
zeoserver
${buildout:zeoclients}
zeoclient_debug
# ${buildout:cron-parts}
# varnish-config
# backup
# precompiler
# nginx-config
# site_unit
# Adjust to directory-setup of server.
# Relative paths:
backupdir = ${buildout:directory}/backup
vardir = ${buildout:directory}/var
logdir = ${buildout:vardir}/log
# Optional: Enable sentry
#[zeoclient-base]
#eggs += collective.sentry
#environment-vars +=
# SENTRY_DSN <YOURDSN>
# SENTRY_PROJECT ${buildout:site}
# SENTRY_MAX_LENGTH 2048
# Add additional clients here and add them to buildout:zeoclients.
[zeoclient2]
<=zeoclient1
http-address = ${ports:zeoclient2}
ip-address = ${bindips:zeoclient2}
[ports]
# Adjust the ports (e.g. if you run multiple sites without modifying /etc/hosts)
# Edit /etc/hosts so you can use "localip = ${buildout:site}" to run all sites on the same port.
base = 80
cache = ${:base}80
loadbalancer = ${:base}81
zeoclient1 = ${:base}82
zeoclient2 = ${:base}83
zeoclient_debug = ${:base}84
zeoserver = ${:base}90
instance = 8080
[bindips]
instance = 0.0.0.0
zeoserver = 127.0.0.1
cache = 127.0.0.1
loadbalancer = 127.0.0.1
zeoclient1 = 127.0.0.1
zeoclient2 = 127.0.0.1
zeoclient_debug = 127.0.0.1
[monitoring_alerting]
# Max Ram 300 MB is not a lot. This should be adapted to usage patterns.
maxram = 300
notification_mail = [email protected]
subject_ix = ${buildout:site}