Closed mserranom closed 2 months ago
I made the option the default for new installs, printing a warning with a link for existing installs.
WDYT about moving the docs into the wiki?
Yeah, the documentation needs to be upgraded.
WDYT about moving the docs into the wiki? e.g. here: https://github.com/overleaf/overleaf/wiki/Data-and-Backups#redis
Description
Turns on redis
appendonly
on config-seed for new installs, and introduces anREDIS_AOF_PERSISTENCE
variable to enable it on existing installs, printing a warning when it's not defined.https://redis.io/docs/latest/operate/oss_and_stack/management/persistence
AOF Persistence writes all redis updates to a journal, allowing better recovery and mitigating potential data loss after shutdown
--appendonly yes
is set viadocker-compose
command
option since overridingCMD
is the recommendation of the official docker image https://hub.docker.com/_/redis.Manual test
Tested login, load and compiled projects.
When
REDIS_AOF_PERSISTENCE
is not defined:When
REDIS_AOF_PERSISTENCE=true
:When
REDIS_AOF_PERSISTENCE=false
:Contributor Agreement