update flower

This commit is contained in:
kev 2019-06-12 06:59:15 +08:00
parent 92bfae7b99
commit 7695fde5c1
2 changed files with 17 additions and 0 deletions

View File

@ -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/

View File

@ -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