mirror of
https://github.com/wassname/openshift-celery-cartridge.git
synced 2026-08-05 13:00:51 +08:00
853 B
853 B
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>