link containers to PHP

This commit is contained in:
Mahmoud Zalt 2016-05-14 04:20:20 +03:00
parent e946573d75
commit 7f4e411d3d
1 changed files with 15 additions and 9 deletions

View File

@ -91,6 +91,19 @@ services:
- data
ports:
- "6379:6379"
links:
- php
### Memcached Container #####################################
memcached:
build: ./memcached
volumes_from:
- data
ports:
- "11211:11211"
links:
- php
### Beanstalkd Container ####################################
@ -99,6 +112,8 @@ services:
ports:
- "11300:11300"
privileged: true
links:
- php
### Beanstalkd-Console Container ############################
@ -109,13 +124,4 @@ services:
links:
- beanstalkd
### Memcached Container #########################################
memcached:
build: ./memcached
volumes_from:
- data
ports:
- "11211:11211"
### Add more Containers below ###############################