From 00dcd101ae1f025196aa49588e357499784da60a Mon Sep 17 00:00:00 2001 From: Marat Abrarov Date: Wed, 11 Nov 2020 11:43:16 +0300 Subject: [PATCH] Fixed Redis configuration template to use REDIS_PORT emvironment variable --- redis-init-image/src/main/resources/rootfs/redis.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis-init-image/src/main/resources/rootfs/redis.conf.j2 b/redis-init-image/src/main/resources/rootfs/redis.conf.j2 index 22c834c..1bed624 100644 --- a/redis-init-image/src/main/resources/rootfs/redis.conf.j2 +++ b/redis-init-image/src/main/resources/rootfs/redis.conf.j2 @@ -88,7 +88,7 @@ protected-mode {{ REDIS_PROTECTED_MODE | quote_redis_conf_argument }} # Accept connections on the specified port, default is 6379 (IANA #815344). # If port 0 is specified Redis will not listen on a TCP socket. -port 6379 +port {{ REDIS_PORT | quote_redis_conf_argument }} # TCP listen() backlog. #