在背景上运行芹菜工作者作为守护程序与AWS Elastic Beanstalk for python 3.6?

时间:2018-01-26 02:19:22

标签: celery python-3.6 amazon-elastic-beanstalk

我想在背景上运行芹菜作为AWS Elastic Beanstalk上的守护进程使用python3.6。

我接着回答了这个问题:pricing

但python3.6不支持supervisor。什么是python 3.6的解决方案。

注意:我正在使用Rabbitmq服务器并在我的项目中设置celery作为远程服务器。

2 个答案:

答案 0 :(得分:1)

主管的主分支支持Python 3.您可以使用它。它可能有一些错误,因为它正在开发中。

要安装它,请运行

$ pip install git+https://github.com/Supervisor/supervisor.git

确保系统中安装了git,以便上述命令正常工作。

mentioned here,你也可以使用mozilla马戏团,这是芹菜的替代品。

答案 1 :(得分:0)

经过一天的研究,我终于得到了我的问题的答案:

刚刚在Eb上安装了git。

packages:
  yum:
    git: []

requirements.txt上添加主管:

git+https://github.com/Supervisor/supervisor.git