mirror of
https://github.com/wassname/openshift-celery-cartridge.git
synced 2026-07-24 13:11:00 +08:00
24125eea57d0e57725f8f99c2d7e68258d46b2fe
openshift-celery-cartridge
Cartridge to Expose Celery as a Daemon on OpenShift
Environment Variables
-
OPENSHIFT_CELERY_BROKER_URLThe connection URL for the broker, omitting the transport. For example, an amqp value may look like: guest:guest@localhost:5672// -
OPENSHIFT_CELERY_IMPORTSDefines 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>
Languages
Shell
43.9%
Ruby
31.7%
Python
24.4%