2018-05-26 02:50:59 -05:00
|
|
|
version: '3.5'
|
2018-05-21 06:03:44 -05:00
|
|
|
services:
|
|
|
|
web:
|
2018-06-01 13:29:44 -05:00
|
|
|
image: 'microblogpub:latest'
|
2018-05-21 06:03:44 -05:00
|
|
|
ports:
|
|
|
|
- "${WEB_PORT}:5005"
|
|
|
|
volumes:
|
|
|
|
- "${CONFIG_DIR}:/app/config"
|
|
|
|
- "./static:/app/static"
|
|
|
|
environment:
|
|
|
|
- MICROBLOGPUB_AMQP_BROKER=pyamqp://guest@rmq//
|
|
|
|
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
|
2018-05-22 17:57:34 -05:00
|
|
|
- MICROBLOGPUB_DEBUG=1
|
2019-04-05 04:35:48 -05:00
|
|
|
- POUSSETACHES_AUTH_KEY=123
|
2018-05-21 06:03:44 -05:00
|
|
|
celery:
|
2018-05-27 15:47:33 -05:00
|
|
|
# image: "instance1_web"
|
2018-06-01 13:29:44 -05:00
|
|
|
image: 'microblogpub:latest'
|
2018-05-21 06:03:44 -05:00
|
|
|
command: 'celery worker -l info -A tasks'
|
2018-05-28 12:46:23 -05:00
|
|
|
volumes:
|
|
|
|
- "${CONFIG_DIR}:/app/config"
|
2018-05-21 06:03:44 -05:00
|
|
|
environment:
|
|
|
|
- MICROBLOGPUB_AMQP_BROKER=pyamqp://guest@rmq//
|
|
|
|
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
|
2018-07-29 09:40:33 -05:00
|
|
|
- MICROBLOGPUB_DEBUG=1
|
2018-05-21 06:03:44 -05:00
|
|
|
mongo:
|
|
|
|
image: "mongo:latest"
|
|
|
|
rmq:
|
|
|
|
image: "rabbitmq:latest"
|
|
|
|
hostname: "my-rabbit"
|
|
|
|
environment:
|
|
|
|
- RABBITMQ_ERLANG_COOKIE=secretrabbit
|
|
|
|
- RABBITMQ_NODENAME=rabbit@my-rabbit
|
2019-04-05 04:35:48 -05:00
|
|
|
poussetaches:
|
|
|
|
image: "poussetaches:latest"
|
2019-04-05 04:42:14 -05:00
|
|
|
ports:
|
|
|
|
- '7991'
|
2019-04-05 04:35:48 -05:00
|
|
|
environment:
|
|
|
|
- POUSSETACHES_AUTH_KEY=123
|
2018-05-26 02:50:59 -05:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: microblogpubfede
|