diff --git a/docker-compose.yml b/docker-compose.yml index c47c6196..af36bcef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 ###############################