From 83078cd424f4203257ef06d910015ff3eafd6987 Mon Sep 17 00:00:00 2001 From: bcj Date: Mon, 17 May 2021 00:05:11 -0500 Subject: [PATCH] Combine duplicate redis_* volumes in compose file. I _think_ yaml handles duplicates by overwriting so the conf file was not being added --- docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index be0d08149..fa251d1a8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,27 +56,25 @@ services: command: redis-server --requirepass ${REDIS_ACTIVITY_PASSWORD} --appendonly yes volumes: - ./redis.conf:/etc/redis/redis.conf + - redis_activity_data:/data env_file: .env ports: - 6378:6378 networks: - main restart: on-failure - volumes: - - redis_activity_data:/data redis_broker: image: redis command: redis-server --requirepass ${REDIS_BROKER_PASSWORD} --appendonly yes volumes: - ./redis.conf:/etc/redis/redis.conf + - redis_broker_data:/data env_file: .env ports: - 6379:6379 networks: - main restart: on-failure - volumes: - - redis_broker_data:/data celery_worker: env_file: .env build: .