feat: add ssl mode with non url connection + add redis cluster support (#494)

This commit is contained in:
Vincent Renaville
2025-05-12 09:45:42 +02:00
committed by GitHub
co-authored by GitHub
parent 416a4660ae
commit e529e00fd7
2 changed files with 23 additions and 3 deletions
+8
View File
@@ -13,6 +13,14 @@ The storage of sessions in Redis is activated using environment variables.
* ``ODOO_SESSION_REDIS_PORT`` is the redis port (default is ``6379``)
* ``ODOO_SESSION_REDIS_PASSWORD`` is the password for the AUTH command
(optional)
* ``ODOO_SESSION_REDIS_SSL`` is the SSL connection (default is ``true``)
(optional)
* ``ODOO_SESSION_REDIS_SSL_CERT_REQS`` is the SSL certificate requirements (default is
``required``), needed to be disabled when using self-signed certificates
(optional)
* ``ODOO_SESSION_REDIS_CLUSTER`` the redis in cluster mode (default is ``false``)
(optional)
* ``ODOO_SESSION_REDIS_URL`` is an alternative way to define the Redis server
address. It's the preferred way when you're using the ``rediss://`` protocol.
* ``ODOO_SESSION_REDIS_PREFIX`` is the prefix for the session keys (optional)