From 9c3d983ebd99fda558e8a025d94aaa8dcf75b726 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 17 Sep 2019 21:58:31 -0300 Subject: [PATCH] disable protected mode --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 850e9b8..ad9d075 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ RUN sed -re "s/^# (syslog-enabled).*/\1 yes/" -i /etc/redis.conf RUN sed -re "s/^(appendonly).*/\1 yes/" -i /etc/redis.conf RUN echo "pidfile /run/redis/redis.pid" >> /etc/redis.conf RUN echo "daemonize yes" >> /etc/redis.conf +RUN echo "protected-mode no" >> /etc/redis.conf EXPOSE 6379 VOLUME "/var/lib/redis"