Skip to content

Commit

Permalink
[redis]: Disable snapshotting completely (#463)
Browse files Browse the repository at this point in the history
Signed-off-by: Shuotian Cheng <[email protected]>
  • Loading branch information
Shuotian Cheng authored and lguohan committed Apr 1, 2017
1 parent ed746c1 commit 9841f83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/docker-database/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ debs/{{ deb }}{{' '}}
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /debs

RUN sed -ri 's/^daemonize yes$/daemonize no/; \
RUN sed -ri 's/^(save .*$)/# \1/g; \
s/^daemonize yes$/daemonize no/; \
s/^logfile .*$/logfile ""/; \
s/^# syslog-enabled no$/syslog-enabled no/; \
s/^# unixsocket/unixsocket/ \
Expand Down

0 comments on commit 9841f83

Please sign in to comment.