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:
|
|
|
|
# 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
|