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/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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user