microblog.pub/docker-compose-tests.yml

42 lines
1 KiB
YAML
Raw Normal View History

version: '3.5'
services:
web:
2018-06-01 18:29:44 +00:00
image: 'microblogpub:latest'
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 22:57:34 +00:00
- MICROBLOGPUB_DEBUG=1
2019-04-05 09:35:48 +00:00
- POUSSETACHES_AUTH_KEY=123
celery:
2018-05-27 20:47:33 +00:00
# image: "instance1_web"
2018-06-01 18:29:44 +00:00
image: 'microblogpub:latest'
command: 'celery worker -l info -A tasks'
2018-05-28 17:46:23 +00:00
volumes:
- "${CONFIG_DIR}:/app/config"
environment:
- MICROBLOGPUB_AMQP_BROKER=pyamqp://guest@rmq//
- MICROBLOGPUB_MONGODB_HOST=mongo:27017
2018-07-29 14:40:33 +00:00
- MICROBLOGPUB_DEBUG=1
mongo:
image: "mongo:latest"
rmq:
image: "rabbitmq:latest"
hostname: "my-rabbit"
environment:
- RABBITMQ_ERLANG_COOKIE=secretrabbit
- RABBITMQ_NODENAME=rabbit@my-rabbit
2019-04-05 09:35:48 +00:00
poussetaches:
image: "poussetaches:latest"
2019-04-05 09:42:14 +00:00
ports:
- '7991'
2019-04-05 09:35:48 +00:00
environment:
- POUSSETACHES_AUTH_KEY=123
networks:
default:
name: microblogpubfede