From aab022686196ca69efc60a8c0467911eb9e55dea Mon Sep 17 00:00:00 2001 From: Nabil Ould Hamou Date: Sat, 30 Nov 2024 15:38:32 +0100 Subject: [PATCH] feat: added environment variables to the redis server in docker-compose.yml --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4ac470d..53fe995 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,8 +24,10 @@ services: ports: - "6379:6379" command: redis-server --save 20 1 --loglevel warning + environment: + - REDIS_PASSWORD=temp-redis-password volumes: - - redis-data:/data + - redis-data:/root/redis networks: - redis_network