-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal_production.cfg
More file actions
79 lines (68 loc) · 2.11 KB
/
Copy pathlocal_production.cfg
File metadata and controls
79 lines (68 loc) · 2.11 KB
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
# This is a deployment-buildout common to all sites.
# To test a deployment locally change the variables backupdir and vardir
[buildout]
extends =
https://raw.githubusercontent.com/starzel/buildout/5.2.3/linkto/base.cfg
# If you want you can have you eggs picked
#allow-picked-versions = true
# comment out what you need
parts +=
# Choose one!
# ${buildout:zeo-multi-parts}
# ${buildout:zeo-single-parts}
# Modify templates/supervisor.conf as needed for production!
# ${buildout:supervisor-parts}
# ${buildout:cron-parts}
# ${buildout:varnish}
# backup
# logrotate
# precompiler
# nginx-conf
# Adjust to directory-setup of server. The default matches starzel's servers.
# Relative paths:
backupdir = ${buildout:directory}/backup
vardir = ${buildout:directory}/var
logdir = ${buildout:vardir}/log
# Optional: Enable sentry
#[zeoclient1]
#sentry_dsn = <YOURDSN>
#eggs += sentry-sdk
# Inherit sentry for zeoclient2
#[zeoclient2]
#<=zeoclient1
#http-address = ${ports:zeoclient2}
#ip-address = ${bindips:zeoclient2}
#eggs += sentry-sdk
# Add additional clients here and add them in parts
#[zeoclientX]
#<=zeoclient1
#http-address = ${ports:zeoclientX}
#ip-address = ${bindips:zeoclientX}
[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 = 500
notification_mail = dp-admin@mpcdf.mpg.de
subject_ix = ${buildout:site}
[nginx-conf]
recipe = collective.recipe.template
input = templates/nginx.conf
output = ${buildout:directory}/etc/${buildout:site}_nginx.conf