From a6a261bfbbb3324727ab6865a57db8e5e2232025 Mon Sep 17 00:00:00 2001 From: TimofeyTst Date: Sun, 8 Oct 2023 20:33:05 +0300 Subject: [PATCH] redis prelast --- docker-compose.prod.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 4013305..faca432 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -19,16 +19,14 @@ services: image: redis:6.2-alpine hostname: redis container_name: redis - # environment: - # - REDIS_PASSWORD=${REDIS_PASSWORD} env_file: - .prod.env - # command: /bin/sh -c "redis-server --requirepass ${REDIS_PASSWORD}" + command: /bin/sh -c "redis-server --requirepass ${REDIS_PASSWORD}" # command: redis-server --requirepass $REDIS_PASSWORD - command: - - /bin/sh - - -c - - redis-server --requirepass "$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}" + # command: + # - /bin/sh + # - -c + # - redis-server --requirepass "$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}" ports: - 6379:6379