Add Docker and install step to have Redis discard data when out of memory.

Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
This commit is contained in:
Eric Riggs
2018-07-10 04:48:42 -04:00
parent 27dcc2a7e7
commit 6722394e34
3 changed files with 1740 additions and 0 deletions

View File

@@ -134,6 +134,10 @@ Create the supervisor file at ``/etc/supervisor/conf.d/mayan.conf``::
stopwaitsecs = 1
user = mayan
Configure Redis to discard data when it runs out of memory::
echo "maxmemory-policy allkeys-lru" >> /etc/redis/redis.conf
Enable and restart the services [1_]::
systemctl enable supervisor