A
A
Araik2019-10-08 22:34:31
Software design
Araik, 2019-10-08 22:34:31

How to correctly implement the CMS architecture for distribution according to the SaaS model?

Good afternoon, I wrote a CMS and I want to distribute it using the SaaS model.
With the help of CMS, you can create business card sites, landing pages, stores.
How to properly and better organize the architecture? How critical is it to isolate clients from each other with docker containers?
I use Mongo Atlas as a database, each client has its own database (settings, templates, everything is stored in the database), the main question is: Is it advisable to use one copy of the CMS for all sites? I would like to use just such an approach, because. I believe that updating and maintaining the system will be easier this way than if you deploy a separate environment for each client.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
grinat, 2019-10-08
@grinat

Docker is not about saas. And the base should be one, there is a user entity, and the user has a project that can be a business card, a landing page or some other crap. There is only one base, if you share everything, then you alone will be unable to maintain this system.

S
Sanes, 2019-10-09
@Sanes

It is not necessary to do multisite on a single instance.
It is also possible as a regular hosting with access only to the CMS instance. I would do that.
Stop pushing Docker onto the Lamp stack. There, at the user level, everything is perfectly resolved with rights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question