From cf896706717d9048b024bab7e4220451eb21e16c Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 12 May 2016 02:17:39 +0100 Subject: [PATCH] add memcached support --- docker-compose.yml | 10 ++++++++++ memcached/Dockerfile | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 memcached/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 0946d8ca..c47c6196 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,6 +34,7 @@ services: - /var/lib/postgres - /var/lib/mariadb - /var/lib/redis + - /var/lib/memcached ### MySQL Container ######################################### @@ -108,4 +109,13 @@ services: links: - beanstalkd +### Memcached Container ######################################### + + memcached: + build: ./memcached + volumes_from: + - data + ports: + - "11211:11211" + ### Add more Containers below ############################### diff --git a/memcached/Dockerfile b/memcached/Dockerfile new file mode 100644 index 00000000..3d95464b --- /dev/null +++ b/memcached/Dockerfile @@ -0,0 +1,7 @@ +FROM memcached:latest + +MAINTAINER Mahmoud Zalt + +CMD ["memcached"] + +EXPOSE 11211