From 99b54c5f7d282600539b3ff3e0f73f9be120da83 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 1 Jun 2016 13:44:41 +0800 Subject: [PATCH] remove unnecessary data volume of redis. Signed-off-by: Bo-Yi Wu --- docker-compose.yml | 3 +-- redis/Dockerfile | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index dd3ad77..4cd25e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,6 @@ services: - /var/lib/mysql - /var/lib/postgres - /var/lib/mariadb - - /var/lib/redis - /var/lib/memcached - /var/lib/neo4j/data @@ -77,7 +76,7 @@ services: ### MariaDB Container ####################################### - mariadb: + mariadb: build: ./mariadb volumes_from: - data diff --git a/redis/Dockerfile b/redis/Dockerfile index 35e4e97..d0bbc96 100644 --- a/redis/Dockerfile +++ b/redis/Dockerfile @@ -2,10 +2,6 @@ FROM redis:latest MAINTAINER Mahmoud Zalt -#COPY redis.conf /usr/local/etc/redis/redis.conf - -VOLUME /var/lib/redis - CMD [ "redis-server" ] EXPOSE 6379