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:
|
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 ##################################
|
||||||
|
|
||||||
|
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user