Merge pull request #87 from LaraDock/appleboy-patch-1
Appleboy patch 1 (fixing volumes mounting)
This commit is contained in:
commit
eda286ded2
@ -27,12 +27,12 @@ services:
|
||||
data:
|
||||
build: ./data
|
||||
volumes:
|
||||
- /var/lib/mysql
|
||||
- /var/lib/postgres
|
||||
- /var/lib/mariadb
|
||||
- /var/lib/redis
|
||||
- /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 ##################################
|
||||
|
||||
@ -77,7 +77,7 @@ services:
|
||||
|
||||
### MariaDB Container #######################################
|
||||
|
||||
mariadb:
|
||||
mariadb:
|
||||
build: ./mariadb
|
||||
volumes_from:
|
||||
- data
|
||||
|
@ -4,8 +4,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||
|
||||
#COPY redis.conf /usr/local/etc/redis/redis.conf
|
||||
|
||||
VOLUME /var/lib/redis
|
||||
|
||||
CMD [ "redis-server" ]
|
||||
VOLUME /data
|
||||
|
||||
EXPOSE 6379
|
||||
|
||||
CMD ["redis-server"]
|
||||
|
Loading…
Reference in New Issue
Block a user