From 3924625d1d627920abc111d9f3764b8c2f811c9d Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Thu, 12 Sep 2024 13:09:43 +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 1a10703a..cb8b33d0 100644 --- a/assets/docker-compose.yml +++ b/assets/docker-compose.yml @@ -89,14 +89,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