Public Repository

Last pushed: 3 years ago
Short Description
Redis DB with frequent snapshot
Full Description

This image is based on dockerfile/redis used in Google Compute Platform's Guestbook application. The only change made to the original dockerfile/redis is on line #22 of the Dockerfile

sed -i 's/save 900 1/save 3 1/' /etc/redis/redis.conf && \ 

This line changes Redis's default behaviour of taking a snapshot of the DB file every 15 minutes, and instead forces Redis to backup data every 3 seconds. Motivation for such change is explained in the project I used this image at (read Under The Hood section). Check out Dockerfile I used to build this image.

Warning: do not use this image outside testing environment. Read why.

Docker Pull Command