Django, Docker & SaaS Multi-Tenant Architecture

123 views
Skip to first unread message

Bridget Kelly O'Sheehan

unread,
Jan 13, 2022, 9:47:26 AM1/13/22
to Django users
Hello,

I'm looking at building and deploying either a SaaS / PaaS or CaaS but what I'm struggling to figure out is how I can deploy an image of django (without its app server)  into a container probably using nginx and docker to work between them. 

e.g Django you have the ability to create additional apps within Django but app I'm building inside at the moment, Ideally I want to isolate that app and deploy that app but ensure its connected to the main django app within the cloud and i'm not sure if its possible like this?

Anyone have any advice on this? p.s also is there a django instant chat channel we can speak on as could not connect on the irc one? Discord & Slack is becoming more popular these days for devs for open questions.

Kindest Regards,

Bridget

yebo...@gmail.com

unread,
Jan 13, 2022, 3:09:31 PM1/13/22
to Django users
By the default Django actually serve media files like images in production to do that you have to use any cloud technology like AWS but for you can also use Dropbox which I used to in one of my project (https://dominic-blog.herokuapp.com) with Dropbox you can serve your media files there.

Bernard Mallala

unread,
Jan 13, 2022, 3:41:14 PM1/13/22
to Django users
I will paraphrase and feel free to correct.
You have an image that when deployed results in a django application that can be accessed but without a specific app that is built to work within this image.
  1. Let' presume that you working on a Tutorial App and you complete this to taste
  2. Now you only want to configure everything including nginx such that when this is deployed then a user will be able to access the django instance without issue
  3. Thereafter, you want to be able to add the isolated Tutorial app so that it works without issue on this Django instance. I do not know that you can point django to an app or the Tutorial app if it existed somewhere else within the cloud, I have not seen this.
    But, to simply add the Tutorial app within this Django instance.I would perhaps have run a script to apply all required to get the Tutorial App running. E.g add to settings file, run migrations etc

Bernard Mallala

unread,
Jan 13, 2022, 3:42:38 PM1/13/22
to Django users
I second the suggestion to have a discord channel versus async/email

MR INDIA

unread,
Jan 14, 2022, 11:56:12 AM1/14/22
to Django users

A official discord channel has been released recently follow Django newsletter for such updates :

Bridget Sarah

unread,
Jan 17, 2022, 2:41:44 AM1/17/22
to django...@googlegroups.com
Hi,

Thank you for this, I've just joined! I tried looking before but couldn't find but i'll sure be on it now :)

Thanks again

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/-_kM4rWLdhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0197d516-aad3-4dc5-970f-ede5f50e6fefn%40googlegroups.com.


--

Bridget


Kindest Regards,


Lyntree Web Studio 

Website Design | Website Hosting | Mobile Applications

Full Stack App|Web|Mobile Developer


Website: https://lyntree.co.uk | https://lyntree.io tbc

Phone / WhatsApp: 07761 308429

Email: in...@lyntree.io / in...@lyntree.co.uk

Bernard Mallala

unread,
Jan 17, 2022, 12:25:24 PM1/17/22
to Django users
Btw contact form on your website does not show on mobile.

炉边史话

unread,
Mar 6, 2022, 10:25:01 AM3/6/22
to Django users
great job!

Joel Tanko

unread,
Mar 14, 2022, 9:41:51 AM3/14/22
to django...@googlegroups.com
This is a micro service issue, you should use webhooks to notify your main Django app with the one you're building, that way you'll know when something happens and can handle that event. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fd908e33-73c1-4385-a8bf-8cba5e9e3c39n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages