문제

I am developing a scaling app for RH Openshift. I plan to use three gears for the following purposes:
1) HAProxy and web cartridge
2) MySQL 5.1 database
3) Background process (Celery)

I have already setup the first two gears by creating a scalable app, and adding the MySQL database cartridge. How can I assign the last gear to run Celery?

도움이 되었습니까?

해결책

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

I have not tested this cartridge, it's just one i found when searching for "openshift celery cartridge", but I can verify that it installs on it's own gear in a scaled application. You can run rhc app show <appname> --gears to verify how many gears your application is using, and what cartridges each is running (both before and after installing the above cartridge)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top