From e65d4b25d97a79ebd5ad0fb4cb59302f8fdd712e Mon Sep 17 00:00:00 2001 From: TimofeyTst Date: Sun, 8 Oct 2023 20:31:15 +0300 Subject: [PATCH] redis 8 --- docker-compose.prod.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 9975355..4013305 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -19,8 +19,10 @@ services: image: redis:6.2-alpine hostname: redis container_name: redis - environment: - - REDIS_PASSWORD=${REDIS_PASSWORD} + # environment: + # - REDIS_PASSWORD=${REDIS_PASSWORD} + env_file: + - .prod.env # command: /bin/sh -c "redis-server --requirepass ${REDIS_PASSWORD}" # command: redis-server --requirepass $REDIS_PASSWORD command: