update the readme file

Support selecting your own containers in the docker compose command.
This commit is contained in:
Mahmoud Zalt
2016-05-07 05:03:07 +03:00
parent 22f11e03ee
commit 457c5d4b1b
2 changed files with 44 additions and 22 deletions

View File

@ -28,6 +28,16 @@ services:
links:
- mysql
### DATA Container ##########################################
data:
build: ./data
container_name: data
volumes:
- /var/lib/mysql
- /var/lib/postgresql/data
- /var/lib/redis
### MySQL Container #########################################
mysql:
@ -67,14 +77,4 @@ services:
ports:
- "6379:6379"
### DATA Container ##########################################
data:
build: ./data
container_name: data
volumes:
- /var/lib/mysql
- /var/lib/postgresql/data
- /var/lib/redis
### Add more Containers below ###############################