diff --git a/Dockerfile b/Dockerfile index b04cdf6..3b340f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,10 @@ ARG BASE_IMAGE=sutty/monit FROM ${BASE_IMAGE}:${ALPINE_VERSION}-100mb MAINTAINER "f " +RUN echo "bind 127.0.0.1 ::1" >> /etc/redis.conf RUN sed -re "/^save \"\"/d" \ -e "s/^(appendonly) .*/\1 yes/" \ -e "s/^(maxmemory-policy) .*/\1 volatile-ttl/" \ - -e "s/^(bind) .*/\1 127.0.0.1 ::1/" \ -e "s|^(dir) .*|\1 /var/lib/redis|" \ -i /etc/redis.conf