disable protected mode
This commit is contained in:
parent
639fa1df08
commit
9c3d983ebd
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ RUN sed -re "s/^# (syslog-enabled).*/\1 yes/" -i /etc/redis.conf
|
||||||
RUN sed -re "s/^(appendonly).*/\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
|
||||||
|
|
||||||
EXPOSE 6379
|
EXPOSE 6379
|
||||||
VOLUME "/var/lib/redis"
|
VOLUME "/var/lib/redis"
|
||||||
|
|
Loading…
Reference in a new issue