2017-09-03 02:39:11 +05:30
|
|
|
# This compose file contains necessary docker-compose config to quick start
|
|
|
|
# services required by app. Ports published to host.
|
|
|
|
#
|
|
|
|
# Usage:
|
|
|
|
# 1. Clone this file as docker-compose.yml:
|
2017-09-04 22:54:55 +05:30
|
|
|
# cp docker/docker-compose.dev.yml docker-compose.yml
|
2017-09-03 02:39:11 +05:30
|
|
|
#
|
|
|
|
# 2. If necessary, then you can fix configuration to your environment.
|
|
|
|
# Then start all services:
|
|
|
|
# docker-compose up -d
|
|
|
|
#
|
|
|
|
# 3. Pass to the project configuration links to this services:
|
|
|
|
# amqp:
|
|
|
|
# host: localhost
|
|
|
|
# port: 5672
|
|
|
|
# username: ely
|
|
|
|
# password: ely
|
|
|
|
# vhost: /ely
|
|
|
|
#
|
|
|
|
# storage:
|
|
|
|
# redis:
|
|
|
|
# host: localhost
|
|
|
|
# port: 6379
|
|
|
|
# poolSize: 10
|
|
|
|
#
|
|
|
|
# 4. After job is done all services can be stopped:
|
|
|
|
# docker-compose stop
|
|
|
|
|
2016-08-02 17:32:36 +05:30
|
|
|
version: '2'
|
|
|
|
services:
|
2017-09-03 02:39:11 +05:30
|
|
|
redis:
|
|
|
|
image: redis:3.2-32bit
|
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
|
|
|
volumes:
|
|
|
|
- ./data/redis:/data
|
2016-08-27 00:38:53 +05:30
|
|
|
|
2017-09-03 02:39:11 +05:30
|
|
|
rabbitmq:
|
2017-09-03 23:58:17 +05:30
|
|
|
image: rabbitmq:3.6-management-alpine
|
2017-09-03 02:39:11 +05:30
|
|
|
ports:
|
|
|
|
- "5672:5672"
|
2017-09-03 23:58:17 +05:30
|
|
|
- "15672:15672"
|
2017-09-03 02:39:11 +05:30
|
|
|
environment:
|
|
|
|
RABBITMQ_DEFAULT_USER: "ely"
|
|
|
|
RABBITMQ_DEFAULT_PASS: "ely"
|
|
|
|
RABBITMQ_DEFAULT_VHOST: "/ely"
|