update docs about ram only redis

This commit is contained in:
2025-02-27 19:38:07 +01:00
parent a2d2acc5de
commit a1db60d159
7 changed files with 34 additions and 8 deletions

View File

@@ -91,9 +91,11 @@ version: '3.8'
services:
redis:
image: redis:7-alpine
# Set a size limit. See link below on how to customise.
# This is required to stay in RAM only.
command: redis-server --save "" --appendonly no
# Additionally, you can set a size limit. See link below on how to customise.
# https://redis.io/docs/manual/eviction/
# command: redis-server --maxmemory 1gb --maxmemory-policy allkeys-lru
# --maxmemory 1gb --maxmemory-policy allkeys-lru
app:
image: cupcakearmy/cryptgeon:latest