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

Commit cf818b0

Browse files
authored
🐛 Update flower Docker (#24)
1 parent 9e359a9 commit cf818b0

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

{{cookiecutter.project_slug}}/docker-compose.shared.admin.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ services:
55
volumes:
66
- /var/run/docker.sock:/var/run/docker.sock
77
flower:
8-
image: totem/celery-flower-docker
8+
image: mher/flower
99
env_file:
1010
- env-flower.env
11+
command:
12+
- "--broker=amqp://guest@queue:5672//"
13+
# For the "Broker" tab to work in the flower UI, uncomment the following command argument,
14+
# and change the queue service's image as described in docker-compose.shared.base-images.yml
15+
# - "--broker_api=http://guest:guest@queue:15672/api//"

{{cookiecutter.project_slug}}/docker-compose.shared.base-images.yml

+4
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ services:
44
image: couchbase:community-6.0.0
55
queue:
66
image: rabbitmq:3
7+
# Using the below image instead is required to enable the "Broker" tab in the flower UI:
8+
# image: rabbitmq:3-management
9+
#
10+
# You also have to change the flower command as documented in docker-compose.shared.admin.yml
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
FLOWER_BASIC_AUTH={{cookiecutter.flower_auth}}
2-
AMQP_ADMIN_HOST=queue
3-
AMQP_HOST=queue

0 commit comments

Comments
 (0)