This repository was archived by the owner on Jan 10, 2024. It is now read-only.
forked from pombredanne/flooding
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduction-task.cfg
More file actions
48 lines (40 loc) · 1.49 KB
/
production-task.cfg
File metadata and controls
48 lines (40 loc) · 1.49 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
[buildout]
extends = production.cfg
parts +=
supervisor
supervisor-cronjob
[supervisor-cronjob]
recipe = z3c.recipe.usercrontab
times = @reboot
command = ${buildout:bin-directory}/supervisord
[supervisor]
recipe = collective.recipe.supervisor
port = ${serverconfig:supervisor-port}
user = sdfsdfsdf
password = aosdifsdf
programs =
100 task_200 ${buildout:directory}/bin/django [lw_task_worker --task_code 200 --log_level INFO --worker_nr 1]
110 task_150 ${buildout:directory}/bin/django [lw_task_worker --task_code 150 --log_level INFO --worker_nr 2]
120 task_180 ${buildout:directory}/bin/django [lw_task_worker --task_code 180 --log_level INFO --worker_nr 3]
130 task_201 ${buildout:directory}/bin/django [lw_task_worker --task_code 201 --log_level INFO --worker_nr 4]
140 task_120 ${buildout:directory}/bin/django [lw_task_worker --task_code 120 --log_level INFO --worker_nr 5]
[serverconfig]
# Settings for supervisor, nginx and so.
gunicorn-port = 9200
# Must be unique
supervisor-port = 9202
sitename = flooding.lizard.net
[symlinks]
recipe = cns.recipe.symlink
symlink =
/mnt/flod-share/exportruns/export_runs_csvs = var/export_runs_csvs
/mnt/flod-share/pyramids = var/pyramids
/mnt/flod-share/ror_keringen = var/ror_keringen
/mnt/flod-share/excel = var/excel
/mnt/flod-share/import = var/media/import
[mkdir]
recipe = z3c.recipe.mkdir
paths =
${buildout:directory}/var/static
${buildout:directory}/var/media
${buildout:directory}/var/log