update the volumes mounting of the DB containers
This commit is contained in:
parent
99b54c5f7d
commit
a8b4b61e28
|
@ -27,11 +27,12 @@ services:
|
|||
data:
|
||||
build: ./data
|
||||
volumes:
|
||||
- /var/lib/mysql
|
||||
- /var/lib/postgres
|
||||
- /var/lib/mariadb
|
||||
- /var/lib/memcached
|
||||
- /var/lib/neo4j/data
|
||||
- /var/lib/mysql:/var/lib/mysql
|
||||
- /var/lib/postgres:/var/lib/postgres
|
||||
- /var/lib/mariadb:/var/lib/mariadb
|
||||
- /var/lib/memcached:/var/lib/memcached
|
||||
- /var/lib/neo4j:/var/lib/neo4j/data
|
||||
- /var/lib/redis:/data
|
||||
|
||||
### Nginx Server Container ##################################
|
||||
|
||||
|
|
|
@ -2,6 +2,10 @@ FROM redis:latest
|
|||
|
||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||
|
||||
CMD [ "redis-server" ]
|
||||
#COPY redis.conf /usr/local/etc/redis/redis.conf
|
||||
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 6379
|
||||
|
||||
CMD ["redis-server"]
|
||||
|
|
Loading…
Reference in New Issue