- Mailing Lists
- Contributors
- Re: Multi Tenant Self Hosted Enviroments
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: Multi Tenant Self Hosted Enviroments
I am all in on Terraform/AWS and I never surface the control plane at all. An isolated container pipeline creates a new database, then an internet-accessible ECS cluster provides access to it (with the control plane disabled).
On Mon, May 22, 2023 at 5:52 AM Xavier Brochard <notifications@odoo-community.org> wrote:
Le 21.05.2023 23:32, Charles Gucker a écrit : > On Sun, May 21, 2023 at 12:22 PM Xavier Brochard >> In case Cloudpepper is not what you want, Ivan Yelizariev has made a >> package to help multi tenant Odoo hosting (see its modules on >> apps.odoo.com). There is also some bash scripts from the french >> provider >> Sisalp that you can download from http://download.sisalp.net/scripts/. >> You might also use the Yunohost solution, there is a good Odoo package >> (any version). > Thank you, I'm going to dig into the scripts. I also took a look at > Yunohost and it seems a little basic based on my background and > experiences. Yunohost is not so basic : while its purpose is to help beginners to self-host, it is also good if you want to not forget something, start with all annoying tasks done automaticaly and save time, as it is complete and well configured. **And you can allways do what you want with it.** It is also good if you need to try Odoo with Etherpad, NextCloud, LibreOffice, etc. > I'm > trying to understand how Odoo got to the point of multi-domain (being > able to add multiple websites) in the data plane, but not breaking > away the control plane (configuration functions) from the remaining > data plane functions. That is, dbfilter is intended to assign a > specific host or FQDN to facilitate the control plane functions, but > there isn't a function to administrate the relationships with the data > plane. In other words, within Odoo, there is no way to dynamically > maintain a list of vhost domains and associate them with their > respective databases and actually see the state of each vhost as they > relate to their database and mark them as active or inactive, which > would allow for the duplications or migrations from one database to > another without collisions. Don't forget to have a look on Yelizariev solution. You can ask him if you don't find his modules. There was also some useful OCA modules in the past. > I too ran a service provider in the early 90s Sometimes I miss this pleasant time, when there was a lot of new things to invent ! Best Xavier_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Adam Heinz - 05:00 - 22 May 2023
Reference
-
Multi Tenant Self Hosted Enviroments
Greetings, I have been struggling to set up a multi-tenant, self hosted Odoo environment. The purpose of multi-tenant in my deployment, I am referring to having multiple clients, who will each want to "own" and manage their instance / database of Odoo. That is, being able to set up multiple websites, shops, with consolidated invoicing and services already provided by Odoo. I understand that I can set up separate VMs which would each point to a specific database. But it would require additional resources to deploy each VM to maintain the OS instances required. As a result, I am looking to consolidate the deployments as much as possible. This way I can configure clients and then break them out if/when it's needed. I am running Odoo 16, self hosted. I started to go down the path to try and force clients to use their specific domain name, but that became an issue because dbfilter can associate between a fully qualified hostname, or just the hostname itself. It wasn't built to go the other direction. Then I ran into the problem of a client needing to use multiple domains and how to associate them to their respective databases. I tried to do much of this logic within nginx, but even then I ran into problems with modifying HTTP headers and then losing the desired outcome. Does anybody know if I'm missing something, or would I really have to kickoff an Odoo instance for each client with their own distributed TLS/SSL cert, DB and front-end server ? I would really like to find a solution that would scale and I know a lot of people have made it scale. I'm just missing some pieces to do the same. Thank you, Charles
by cgucker - 07:46 - 20 May 2023