Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
🐛 Update flower Docker (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Feb 7, 2020
1 parent 9e359a9 commit cf818b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
flower:
image: totem/celery-flower-docker
image: mher/flower
env_file:
- env-flower.env
command:
- "--broker=amqp://guest@queue:5672//"
# For the "Broker" tab to work in the flower UI, uncomment the following command argument,
# and change the queue service's image as described in docker-compose.shared.base-images.yml
# - "--broker_api=http://guest:guest@queue:15672/api//"
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ services:
image: couchbase:community-6.0.0
queue:
image: rabbitmq:3
# Using the below image instead is required to enable the "Broker" tab in the flower UI:
# image: rabbitmq:3-management
#
# You also have to change the flower command as documented in docker-compose.shared.admin.yml
2 changes: 0 additions & 2 deletions {{cookiecutter.project_slug}}/env-flower.env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
FLOWER_BASIC_AUTH={{cookiecutter.flower_auth}}
AMQP_ADMIN_HOST=queue
AMQP_HOST=queue

0 comments on commit cf818b0

Please sign in to comment.