remove unnecessary data volume of redis.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
8993cccc2c
commit
99b54c5f7d
@ -30,7 +30,6 @@ services:
|
|||||||
- /var/lib/mysql
|
- /var/lib/mysql
|
||||||
- /var/lib/postgres
|
- /var/lib/postgres
|
||||||
- /var/lib/mariadb
|
- /var/lib/mariadb
|
||||||
- /var/lib/redis
|
|
||||||
- /var/lib/memcached
|
- /var/lib/memcached
|
||||||
- /var/lib/neo4j/data
|
- /var/lib/neo4j/data
|
||||||
|
|
||||||
|
@ -2,10 +2,6 @@ FROM redis:latest
|
|||||||
|
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||||
|
|
||||||
#COPY redis.conf /usr/local/etc/redis/redis.conf
|
|
||||||
|
|
||||||
VOLUME /var/lib/redis
|
|
||||||
|
|
||||||
CMD [ "redis-server" ]
|
CMD [ "redis-server" ]
|
||||||
|
|
||||||
EXPOSE 6379
|
EXPOSE 6379
|
||||||
|
Loading…
Reference in New Issue
Block a user