feat: add ssl mode with non url connection + add redis cluster support

This commit is contained in:
vrenaville
2025-05-09 15:03:52 +02:00
parent 416a4660ae
commit 73845458ec
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)