From f96ffe5d70694688ae8ae32b0d971f36b7c97676 Mon Sep 17 00:00:00 2001 From: Chinmay Pai Date: Fri, 28 Sep 2018 14:45:30 +0530 Subject: [PATCH] redis: revert mistakes Signed-off-by: Chinmay Pai --- docker-compose.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 42f686f8..d7578700 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '2' services: mariadb: - image: "mariadb" + image: mariadb environment: - MYSQL_ROOT_PASSWORD=123 - MYSQL_USER=root @@ -13,16 +13,35 @@ services: redis-cache: image: redis:alpine + + volumes: + - ./redis-conf/redis_cache.conf:/etc/conf.d/redis.conf + + command: ["redis-server","/etc/conf.d/redis.conf"] + container_name: redis-cache redis-queue: image: redis:alpine + + volumes: + - ./redis-conf/redis_queue.conf:/etc/conf.d/redis.conf + + command: ["redis-server","/etc/conf.d/redis.conf"] + container_name: redis-queue redis-socketio: image: redis:alpine + + volumes: + - ./redis-conf/redis_socketio.conf:/etc/conf.d/redis.conf + + command: ["redis-server","/etc/conf.d/redis.conf"] + container_name: redis-socketio + frappe: volumes: - ./frappe-bench:/home/frappe/frappe-bench