Merge pull request #87 from LaraDock/appleboy-patch-1

Appleboy patch 1 (fixing volumes mounting)
This commit is contained in:
Mahmoud Zalt 2016-06-03 01:52:24 +03:00
commit eda286ded2
2 changed files with 10 additions and 10 deletions

View File

@ -27,12 +27,12 @@ services:
data: data:
build: ./data build: ./data
volumes: volumes:
- /var/lib/mysql - /var/lib/mysql:/var/lib/mysql
- /var/lib/postgres - /var/lib/postgres:/var/lib/postgres
- /var/lib/mariadb - /var/lib/mariadb:/var/lib/mariadb
- /var/lib/redis - /var/lib/memcached:/var/lib/memcached
- /var/lib/memcached - /var/lib/neo4j:/var/lib/neo4j/data
- /var/lib/neo4j/data - /var/lib/redis:/data
### Nginx Server Container ################################## ### Nginx Server Container ##################################
@ -77,7 +77,7 @@ services:
### MariaDB Container ####################################### ### MariaDB Container #######################################
mariadb: mariadb:
build: ./mariadb build: ./mariadb
volumes_from: volumes_from:
- data - data

View File

@ -4,8 +4,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
#COPY redis.conf /usr/local/etc/redis/redis.conf #COPY redis.conf /usr/local/etc/redis/redis.conf
VOLUME /var/lib/redis VOLUME /data
CMD [ "redis-server" ]
EXPOSE 6379 EXPOSE 6379
CMD ["redis-server"]