microblog.pub/docker-compose-dev.yml

22 lines
446 B
YAML
Raw Normal View History

version: '3'
2018-05-18 18:41:41 +00:00
services:
celery:
2018-06-01 18:59:32 +00:00
image: microblogpub:latest
2018-05-18 18:41:41 +00:00
links:
- mongo
- rabbitmq
command: 'celery worker -l info -A tasks'
environment:
- MICROBLOGPUB_AMQP_BROKER=pyamqp://guest@rabbitmq//
2018-05-18 18:41:41 +00:00
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
mongo:
image: "mongo:latest"
volumes:
- "./data:/data/db"
ports:
- "27017:27017"
rabbitmq:
image: "rabbitmq:latest"
ports:
- "5672:5672"