Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Yes, this is possible. The basic is:
- Each instance should have its own user and home directory for security
- Each instance should be run on different ports
- Setup an HTTP proxy (Apache or NginX could be used) to proxy HTTP requests to the appropriate instance. E.g. xxx.company.com will be forwarded to openerpserver:8069 and yyy.company.com will be forwarded to openerpserver:8169
- Each instance should have its own PostgreSQL account for security reason.
Regarding "Each instance should have its own PostgreSQL account for security reason", I believe it is not enough and I even wonder if one shouldn't even have a separate Postgres server.
Actually, OpenERP postgres user is created as superuser (at leat by Odoo Windows installer). Thus, even with a dedicated user, each instance can access db instances of other users.
I realized that when I installed Odoo v8 which could list v7 db instances whereas it connects to PostgreSQL server with its own user (and it did not like instrospecting v7 db instances at all ...)
So, I uncheked 'superuser' option. From there, v8 instance could not list v7 databases. But, when restoring db dump, pg_restore complained it could not delete and recreate 'public' role ... which explains why db user is created as super user by default.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/1/13, 1:18 PM|
|Seen: 11961 times|
|Last updated: 1/17/18, 6:53 AM|