diff --git a/Dockerfile b/Dockerfile index 3669a88..3dadfa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,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"