ilonajulczuk/docker-django-celery

How to add flower in?

Opened this issue · 0 comments

Hi Justyna,

Thanks for your sharing and the tutorial which is very helpful! I want to ask how to add in flower monitor, I did the addition as this in docker-compose.yml, but it's not working,

flower:
  image: jcalazan/django
  environment:
    - DATABASE_HOST=db
    - BROKER_URL=amqp://guest:guest@rabbit//
  command: bash -c "cd myproject && celery flower -A myproject --port=5555"
  volumes:
    - .:/app
  ports:
    - "5555:5555"
  links:
    - db:db
    - rabbitmq:rabbit

and I add flower==0.8.2 in the requirements.txt
if I use $docker-compose ps the status is Exit 1, the container could not build up. Could you please help me about this question? Thank you very much!

Best,
Lingling7