-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcelery.cfg
More file actions
85 lines (72 loc) · 1.5 KB
/
celery.cfg
File metadata and controls
85 lines (72 loc) · 1.5 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
80
81
82
83
84
85
[buildout]
parts =
celery
rabbitmq
rabbitmq_conf
schedule_scripts
extends =
base.cfg
versions.cfg
eggs =
Django
BeautifulSoup
feedparser
lxml
couchdb
celery
amqplib
fabric
akorn_search
akorn.celery
akorn.scrapers
ipython
requests<1.2.3
django_assets
django-extensions
mock
readline
cssmin
cssselect
python-dateutil
iso8601
auto-checkout =
akorn_search
akorn.celery
akorn.scrapers
show-picked-versions = true
versions = versions
[ports]
supervisor = 9003
[hosts]
localhost = 127.0.0.1
celery-host = 127.0.0.1
[celery-supervisor]
programs =
10 celery ${buildout:bin-directory}/celeryd
20 rabbit ${buildout:bin-directory}/rabbitmq-server
[celery]
recipe = collective.recipe.celery
broker-transport = amqplib
broker-host = celery-host
broker-vhost = myvhost
broker-user = akorn
broker-password = akorn
eggs = ${buildout:eggs}
celeryd-log-level = CRITICAL
[rabbitmq]
recipe = rod.recipe.rabbitmq
url = http://www.rabbitmq.com/releases/rabbitmq-server/v3.0.4/rabbitmq-server-3.0.4.tar.gz
[rabbitmq_conf]
recipe = collective.recipe.template
input = ${buildout:directory}/templates/rabbitmq/rabbitmq-env.conf.in
output = ${buildout:directory}/etc/rabbitmq-env.conf
[schedule_scripts]
recipe = zc.recipe.egg
eggs = ${buildout:eggs}
scripts =
run_schedule
run_all_schedule
[supervisor]
recipe = collective.recipe.supervisor
programs = ${celery-supervisor:programs}
port = ${ports:supervisor}