From 29c2b26e31a0cc110831701ff3b79c1887f82aca Mon Sep 17 00:00:00 2001 From: MickLesk Date: Mon, 6 Apr 2026 19:37:50 +0200 Subject: [PATCH] Homarr: bind Redis to localhost only --- ct/homarr.sh | 1 + install/homarr-install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ct/homarr.sh b/ct/homarr.sh index 2b8cf5ded..a4fc6d58f 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -65,6 +65,7 @@ EOF msg_info "Updating Homarr" cp /opt/homarr/redis.conf /etc/redis/redis.conf + echo "bind 127.0.0.1 -::1" >> /etc/redis/redis.conf rm /etc/nginx/nginx.conf cp /opt/homarr/nginx.conf /etc/nginx/templates/nginx.conf msg_ok "Updated Homarr" diff --git a/install/homarr-install.sh b/install/homarr-install.sh index e8f199ce2..ff090234c 100644 --- a/install/homarr-install.sh +++ b/install/homarr-install.sh @@ -47,6 +47,7 @@ mkdir -p /appdata/redis chown -R redis:redis /appdata/redis chmod 744 /appdata/redis cp /opt/homarr/redis.conf /etc/redis/redis.conf +echo "bind 127.0.0.1 -::1" >> /etc/redis/redis.conf rm /etc/nginx/nginx.conf mkdir -p /etc/nginx/templates cp /opt/homarr/nginx.conf /etc/nginx/templates/nginx.conf