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:
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 ##################################

View File

@ -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"]