bind redis to localhost
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
ca3e933be4
commit
23845f54a8
1 changed files with 1 additions and 1 deletions
|
@ -3,10 +3,10 @@ ARG BASE_IMAGE=sutty/monit
|
|||
FROM ${BASE_IMAGE}:${ALPINE_VERSION}-100mb
|
||||
MAINTAINER "f <f@sutty.nl>"
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue