fix: limit redis maxmemory from env
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
380c0db8fe
commit
de997f8150
1 changed files with 2 additions and 1 deletions
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue