fix: limit redis maxmemory from env
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-11-23 13:16:55 -03:00
parent 380c0db8fe
commit de997f8150

View file

@ -1,7 +1,8 @@
ARG ALPINE_VERSION=3.13.6 ARG ALPINE_VERSION=3.13.6
ARG BASE_IMAGE=sutty/monit ARG BASE_IMAGE=sutty/monit
FROM ${BASE_IMAGE}:${ALPINE_VERSION}-100mb FROM ${BASE_IMAGE}:${ALPINE_VERSION}
MAINTAINER "f <f@sutty.nl>" MAINTAINER "f <f@sutty.nl>"
ENV MAX_MEMORY=100mb
RUN echo "bind 127.0.0.1 ::1" >> /etc/redis.conf RUN echo "bind 127.0.0.1 ::1" >> /etc/redis.conf
RUN sed -re "/^save \"\"/d" \ RUN sed -re "/^save \"\"/d" \