docker-django-celery icon indicating copy to clipboard operation
docker-django-celery copied to clipboard

How to add flower in?

Open Lingling7 opened this issue 9 years ago • 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

Lingling7 avatar Nov 10 '15 21:11 Lingling7