From 8c845f4e9dad30f8a289dd074607ad132b34a3d2 Mon Sep 17 00:00:00 2001 From: Vinicios Barros Date: Tue, 21 Dec 2021 12:02:54 -0300 Subject: [PATCH] Change the Docker container to localhost acc only - This creates a small extra level of security not opening your Redis container to the world or relying on previous network firewall rules. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c7eb5bb..565970d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: redis: image: "redislabs/redismod:latest" ports: - - 6379:6379 + - 127.0.0.1:6379:6379 test: build: . environment: