Improve caching

This commit is contained in:
Thomas Sileo
2018-09-03 20:21:33 +02:00
parent 2ee3fc0c67
commit 7237fbcc68
5 changed files with 106 additions and 37 deletions

View File

@@ -1,5 +1,16 @@
version: '3'
services:
flower:
image: microblogpub:latest
links:
- mongo
- rabbitmq
command: 'celery flower -l info -A tasks --broker amqp://guest@rabbitmq// --address=0.0.0.0 --port=5556'
environment:
- MICROBLOGPUB_AMQP_BROKER=pyamqp://guest@rabbitmq//
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
ports:
- "5556:5556"
celery:
image: microblogpub:latest
links: