diff --git a/flower/README.md b/flower/README.md index b789735..7e88378 100644 --- a/flower/README.md +++ b/flower/README.md @@ -3,4 +3,20 @@ flower [Flower][1] is a web based tool for monitoring and administrating Celery clusters. +## docker-compose.yml + +```yaml +flower: + image: mher/flower + ports: + - "5555:5555" + environment: + - CELERY_BROKER_URL=redis://redis:6379/0 + - FLOWER_PORT=5555 + - FLOWER_BASIC_AUTH=username:password + extra_hosts: + - redis:x.x.x.x + restart: always +``` + [1]: https://flower.readthedocs.io/en/latest/ diff --git a/flower/docker-compose.yml b/flower/docker-compose.yml index 1ad3efb..980fb25 100644 --- a/flower/docker-compose.yml +++ b/flower/docker-compose.yml @@ -4,6 +4,7 @@ flower: - "5555:5555" environment: - CELERY_BROKER_URL=redis://redis:6379/0 + - FLOWER_PORT=5555 - FLOWER_BASIC_AUTH=username:password extra_hosts: - redis:x.x.x.x