Files
openshift-celery-cartridge/README.md
T
2015-04-10 16:11:25 +08:00

853 B

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>