microblog.pub/docker-compose-dev.yml

22 lines
428 B
YAML
Raw Normal View History

2018-05-27 15:47:33 -05:00
version: '2'
2018-05-18 13:41:41 -05:00
services:
celery:
build: .
links:
- mongo
- rabbitmq
command: 'celery worker -l info -A tasks'
environment:
- MICROBLOGPUB_AMQP_BORKER=pyamqp://guest@rabbitmq//
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
mongo:
image: "mongo:latest"
volumes:
- "./data:/data/db"
ports:
- "27017:27017"
rabbitmq:
image: "rabbitmq:latest"
ports:
- "5672:5672"