From 0a35594508d246509cc843284b4e8a6ffbf59206 Mon Sep 17 00:00:00 2001 From: Blue Mouse Date: Wed, 1 Oct 2025 00:02:29 +0100 Subject: [PATCH] Use magic variable for Redis password --- templates/compose/swetrix.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/compose/swetrix.yaml b/templates/compose/swetrix.yaml index 035d96a31..60f523a57 100644 --- a/templates/compose/swetrix.yaml +++ b/templates/compose/swetrix.yaml @@ -55,6 +55,7 @@ services: - REDIS_HOST=redis - CLICKHOUSE_HOST=http://clickhouse - CLICKHOUSE_PASSWORD=$SERVICE_PASSWORD_CLICKHOUSE + - REDIS_PASSWORD=$SERVICE_PASSWORD_REDIS depends_on: redis: condition: service_healthy @@ -75,7 +76,7 @@ services: environment: - REDIS_PORT=${REDIS_PORT:-6379} - REDIS_USER=${REDIS_USER:-default} - - REDIS_PASSWORD=${REDIS_PASSWORD:-} + - REDIS_PASSWORD=$SERVICE_PASSWORD_REDIS healthcheck: test: - CMD-SHELL