Author: |
Babatope Ajepe |
License: |
LGPL-3 |
Branch: |
11.0 |
Repository: |
Rodasac/odoo-addons |
Dependencies: |
base |
Languages: |
HTML (25, 18.5%),
Markdown (27, 20.0%),
and
Python (83, 61.5%) |
Other branches: |
12.0 |
Other repositories: |
Jaquedeveloper/odoo-addons,
ajepe/odoo-addons,
akurey/ajepe-odoo-addons,
cnkenny/odoo-addons,
consultingerp/odoo_redis_session_storage,
elmosolutions/odoo-addons,
leodoooca/odoo-addons,
sspankaj/odoo-addons,
wahhid/odoo-addons,
and
wbsouza/odoo-addons-1 |
<h1>Odoo Redis Session Storage</h1>
<hr>
<p>This module allows you to use a Redis database to manage sessions, instead of the default Odoo filesystem implementation.</p>
<p>Redis is an open source, in-memory data structure store, used as a database, cache and message broker.</p>
<p>This module is needed when you have multiple instance of Odoo application server running behind a load balancing application.</p>
<p>There will be need to share user session information.</p>
<p>You need to install and to start a Redis server to use this module.
Documentation is available on <code>Redis website</code>_.</p>
<p>You need to install package <strong>redis</strong>
<code>
pip3 install redis # http://redis.io/topics/quickstart
</code></p>
<h3>Usage or Configuation</h3>
<p>addd and set these following parameter in your configuration file
<code>bash
session_store = redis
redis://username:password@ipaddress:6379/0
</code>
* The username is optional but a place holder should be set as shown above
* Replace the password with your redis auth password
* ipaddress with the redis server address e.g</p>
<p>```
e.g
//.odoorc as the config file name or your name of choice.</p>
<p>session_store = redis
redis=redis://username:avlpynVhwvBa34x10NNINZiMRW2C8iJO@redis-13852.c14.us-east-1-2.ec2.cloud.redislabs.com:13852/0<code>
</code>``</p>