esmero / archipelago-deployment-live

A Cloud / Local production ready Archipelago Deployment using Docker / Kubernetes
GNU General Public License v3.0
3 stars 13 forks source link

Make redis max memory configurable #76

Closed aksm closed 1 year ago

aksm commented 2 years ago

What?

The redis container currently ships with maxmemory default and should be configurable via (e.g.) --maxmemory 3gb in the docker-compose command flags or in the conf file.

@DiegoPino should we maybe mount redis.conf and allow for fine-tuning?

DiegoPino commented 2 years ago

Also, we need to set the max memory policy and we need to make sure that if max memory is SET, then queues can not go into cache at least not Persistent queues

DiegoPino commented 2 years ago

@aksm I prefer we add all commands inline instead of a redis.conf?

aksm commented 2 years ago

@DiegoPino makes sense. Was thinking the same but considering advanced use cases. Maybe just document redis.conf setup for those that want to go that route.

aksm commented 1 year ago

Resolved via 924be4d503e8a23a249def08fee69a5d5dd6aa75 and 121bfc83f8f904809d8d95580c7b6e646e33b26d.