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 @tobiasb
Good suggestion.
I ask myself, is the manifest the correct singular location for this config?
Maybe we set the initial value via the manifest but also allow a custom value in the service overview from the dashboard.But at least adding this to the manifest should be doable.
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