Add Redis config entries in the Docker images to disable saving the database and to only provision 1 database.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
* Fix the link to the documenation. Closes GitLab issue #516.
|
* Fix the link to the documenation. Closes GitLab issue #516.
|
||||||
Thanks to Matthias Urlichs @smurfix for the report.
|
Thanks to Matthias Urlichs @smurfix for the report.
|
||||||
* Update related links. Add links to the new Wiki and Forum.
|
* Update related links. Add links to the new Wiki and Forum.
|
||||||
|
* Add Redis config entries in the Docker images to disable
|
||||||
|
saving the database and to only provision 1 database.
|
||||||
|
|
||||||
3.1.3 (2018-09-27)
|
3.1.3 (2018-09-27)
|
||||||
==================
|
==================
|
||||||
|
|||||||
@@ -75,6 +75,12 @@ ln -s /usr/lib/arm-linux-gnueabihf/libjpeg.so /usr/lib/ \
|
|||||||
# Discard data when Redis runs out of memory
|
# Discard data when Redis runs out of memory
|
||||||
RUN echo "maxmemory-policy allkeys-lru" >> /etc/redis/redis.conf
|
RUN echo "maxmemory-policy allkeys-lru" >> /etc/redis/redis.conf
|
||||||
|
|
||||||
|
# Disable saving the Redis database
|
||||||
|
RUN echo "save \"\"" >> /etc/redis/redis.conf
|
||||||
|
|
||||||
|
# Only provision 1 database
|
||||||
|
RUN echo "databases 1" >> /etc/redis/redis.conf
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
# Build image start #
|
# Build image start #
|
||||||
#####################
|
#####################
|
||||||
|
|||||||
Reference in New Issue
Block a user