remove unnecessary data volume of redis.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-06-01 13:44:41 +08:00
parent 8993cccc2c
commit 99b54c5f7d
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -2,10 +2,6 @@ FROM redis:latest
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
#COPY redis.conf /usr/local/etc/redis/redis.conf
VOLUME /var/lib/redis
CMD [ "redis-server" ]
EXPOSE 6379