This commit is contained in:
parent
afd011bcc0
commit
39814b84a5
1 changed files with 1 additions and 1 deletions
|
@ -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 "/^protected-mode /d" -i /etc/redis.conf
|
||||||
RUN sed -re "/^logfile /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/^# (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 "pidfile /run/redis/redis.pid" >> /etc/redis.conf
|
||||||
RUN echo "daemonize yes" >> /etc/redis.conf
|
RUN echo "daemonize yes" >> /etc/redis.conf
|
||||||
RUN echo "protected-mode no" >> /etc/redis.conf
|
RUN echo "protected-mode no" >> /etc/redis.conf
|
||||||
RUN echo "maxmemory-policy allkeys-lfu" >> /etc/redis.conf
|
RUN echo "maxmemory-policy allkeys-lfu" >> /etc/redis.conf
|
||||||
RUN echo "maxmemory ${MAX_MEMORY}" >> /etc/redis.conf
|
RUN echo "maxmemory ${MAX_MEMORY}" >> /etc/redis.conf
|
||||||
|
RUN echo "save \"\"" >> /etc/redis.conf
|
||||||
|
|
||||||
ARG ALPINE_VERSION=3.13.6
|
ARG ALPINE_VERSION=3.13.6
|
||||||
ARG BASE_IMAGE=sutty/monit
|
ARG BASE_IMAGE=sutty/monit
|
||||||
|
|
Loading…
Reference in a new issue