Allows to set the maxmemory-policy for redis via cloudron manifest
-
At the moment the workaround is to do this is, is inside the start script.
REDISCLI_AUTH="${CLOUDRON_REDIS_PASSWORD}" redis-cli -h "${CLOUDRON_REDIS_HOST}" -p "${CLOUDRON_REDIS_PORT}" CONFIG SET maxmemory-policy allkeys-lruBut this way is fragil. When the service is restarted for some reason, the default policy is set.
Now when the maxmen is reached by the app -> 500, because it is not allowed to write anymore.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login