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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user