2015-04-10 16:11:25 +08:00
2015-04-10 16:11:25 +08:00
2013-08-06 13:51:59 -04:00
2015-04-10 15:36:37 +08:00
2014-05-23 17:05:33 +02:00
2015-04-10 16:11:25 +08:00

openshift-celery-cartridge

Cartridge to Expose Celery as a Daemon on OpenShift

Environment Variables

  • OPENSHIFT_CELERY_BROKER_URL The connection URL for the broker, omitting the transport. For example, an amqp value may look like: guest:guest@localhost:5672//

  • OPENSHIFT_CELERY_IMPORTS Defines the modules that celery should import. Currently only supports 1 module import path

To install

rhc cartridge-add https://raw.github.com/wassname/openshift-celery-cartridge/master/metadata/manifest.yml -a <appname>

Any log output will be generated to ${OPENSHIFT_TMP_DIR}/celery_log.txt

This was tested using:

celery==3.1.11
redis==2.10.3

To manage

$ rhc cartridge-status redis -a <yourapp>
S
Description
Cartridge to Expose Celery as a Daemon on OpenShift
Readme
107 KiB
Languages
Shell 43.9%
Ruby 31.7%
Python 24.4%