From 2503fb9aaf61fac29356d5b0d37453192554655d Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Mon, 9 Sep 2024 14:07:53 +0200 Subject: [PATCH] Revert "fix(redis): disabling protected mode and explicit redis-server command" This reverts commit 779b50afa175fddb89c94d020979ea2e1f3ab9e4. --- assets/docker-compose.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/assets/docker-compose.yml b/assets/docker-compose.yml index e1034517..afa84fad 100644 --- a/assets/docker-compose.yml +++ b/assets/docker-compose.yml @@ -91,14 +91,13 @@ services: volumes: - "./redis/server.crt:/usr/local/etc/redis/server.crt" - "./redis/server.key:/usr/local/etc/redis/server.key" - environment: - - REDIS_TLS_PORT=6380 - - REDIS_TLS_CERT_FILE=/usr/local/etc/redis/server.crt - - REDIS_TLS_KEY_FILE=/usr/local/etc/redis/server.key - - REDIS_TLS_CLUSTER=no - - REDIS_TLS_REPLICATION=no - - REDIS_TLS_AUTH_CLIENTS=no - - REDIS_PROTECTED_MODE=no + command: >- + --tls-port 6380 + --tls-cert-file /usr/local/etc/redis/server.crt + --tls-key-file /usr/local/etc/redis/server.key + --tls-cluster no + --tls-replication no + --tls-auth-clients no healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s