disable protected mode

This commit is contained in:
f 2019-09-17 21:58:31 -03:00
parent a233204766
commit f3620e7c49
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -12,6 +12,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"