db:
  image: mysql:5.5
  environment:
    - MYSQL_DATABASE=mozillians
    - MYSQL_USER=mozillians
    - MYSQL_PASSWORD=mozillians
    - MYSQL_ROOT_PASSWORD=root
es:
  image: barnybug/elasticsearch:1.2.1
memcached:
  image: memcached
broker:
  image: rabbitmq
web:
  build: .
  ports:
    - "8000:8000"
  volumes:
    - .:/code
  links:
    - db
    - es
    - memcached
    - broker
  command: bash -c "python manage.py migrate --noinput && python manage.py runserver 0.0.0.0:8000"
celery:
  build: .
  volumes:
    - .:/code
  links:
    - db
    - es
    - broker
    - memcached
  command: celery -A mozillians worker -B -l INFO
  environment:
    - C_FORCE_ROOT=true
flower:
  build: .
  volumes:
    - .:/code
  links:
    - db
    - broker
  ports:
    - "5555:5555"
  command: flower -A mozillians --address=0.0.0.0 --port=5555

db:
  image: mysql:5.5
  environment:
    - MYSQL_DATABASE=mozillians
    - MYSQL_USER=mozillians
    - MYSQL_PASSWORD=mozillians
    - MYSQL_ROOT_PASSWORD=root
es:
  image: barnybug/elasticsearch:1.2.1
memcached:
  image: memcached
broker:
  image: rabbitmq:3-management
  ports:
    - "15672:15672"
web:
  build: .
  ports:
    - "8000:8000"
  volumes:
    - .:/code
  links:
    - db
    - es
    - memcached
    - broker
  command: bash -c "python manage.py migrate --noinput && python manage.py runserver 0.0.0.0:8000"
celery:
  build: .
  volumes:
    - .:/code
  links:
    - db
    - es
    - broker
    - memcached
  command: celery -A mozillians worker -B -l INFO
  environment:
    - C_FORCE_ROOT=true
flower:
  build: .
  volumes:
    - .:/code
  links:
    - db
    - broker
  ports:
    - "5555:5555"
  command: flower -A mozillians --address=0.0.0.0 --port=5555

Add management plugin in RabbitMQ for Docker.
Add management plugin in RabbitMQ for Docker.
