ilonajulczuk / docker-django-celery

Django, celery and more, all dockerized
MIT License
60 stars 47 forks source link

How to add flower in? #3

Open Lingling7 opened 8 years ago

Lingling7 commented 8 years ago

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