Skip to content

Commit

Permalink
Modified docker configuration for flower fixes farmOS#44
Browse files Browse the repository at this point in the history
  • Loading branch information
paul121 committed Nov 27, 2019
1 parent 798611d commit af8378e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion docker-compose.shared.admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,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//"
2 changes: 1 addition & 1 deletion docker-compose.shared.base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ services:
db:
image: postgres:11
queue:
image: rabbitmq:3
image: rabbitmq:3-management
2 changes: 0 additions & 2 deletions env-flower.env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
FLOWER_BASIC_AUTH=admin:admin
AMQP_ADMIN_HOST=queue
AMQP_HOST=queue

0 comments on commit af8378e

Please sign in to comment.