Merge pull request #51 from chabad360/master

Modify volume naming and add database persistince
This commit is contained in:
Chinmay Pai
2018-10-04 10:56:55 +00:00
committed by GitHub

View File

@@ -7,6 +7,7 @@ services:
- MYSQL_USER=root
volumes:
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
- /var/lib/mysql
ports:
- "3307:3306" #mariadb-port
container_name: mariadb
@@ -15,9 +16,9 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/redis_cache.conf:/etc/conf.d/redis.conf
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis.conf"]
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
container_name: redis-cache
@@ -25,9 +26,9 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/redis_queue.conf:/etc/conf.d/redis.conf
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis.conf"]
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
container_name: redis-queue
@@ -35,9 +36,9 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/redis_socketio.conf:/etc/conf.d/redis.conf
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis.conf"]
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
container_name: redis-socketio