mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
21 lines
446 B
YAML
21 lines
446 B
YAML
version: '2'
|
|
services:
|
|
celery:
|
|
image: microblogpub:latest
|
|
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"
|