From 39814b84a5aafc1ec84794a36073386dd989dc79 Mon Sep 17 00:00:00 2001 From: f Date: Mon, 7 Mar 2022 14:25:33 -0300 Subject: [PATCH] save nothing by default --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6148e92..548a849 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,12 +12,12 @@ RUN sed -re "/^bind /d" -i /etc/redis.conf RUN sed -re "/^protected-mode /d" -i /etc/redis.conf RUN sed -re "/^logfile /d" -i /etc/redis.conf 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 RUN echo "maxmemory-policy allkeys-lfu" >> /etc/redis.conf RUN echo "maxmemory ${MAX_MEMORY}" >> /etc/redis.conf +RUN echo "save \"\"" >> /etc/redis.conf ARG ALPINE_VERSION=3.13.6 ARG BASE_IMAGE=sutty/monit