Skip to content

Commit

Permalink
disable protected-mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jul 28, 2018
1 parent c31b89a commit 015eb37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ubuntu:bionic-20180526

LABEL maintainer="[email protected]"

ENV REDIS_VERSION=4.0.9 \
Expand All @@ -11,6 +12,7 @@ RUN apt-get update \
&& sed 's/^bind /# bind /' -i /etc/redis/redis.conf \
&& sed 's/^logfile /# logfile /' -i /etc/redis/redis.conf \
&& sed 's/^daemonize yes/daemonize no/' -i /etc/redis/redis.conf \
&& sed 's/^protected-mode yes/protected-mode no/' -i /etc/redis/redis.conf \
&& sed 's/^# unixsocket /unixsocket /' -i /etc/redis/redis.conf \
&& sed 's/^# unixsocketperm 700/unixsocketperm 777/' -i /etc/redis/redis.conf \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 015eb37

Please sign in to comment.