How to Use Multiple WSGI on Dockerized Django

when dockerizing the Django project we need to split the configuration like this

we need to split that config like we split the settings files, like on Two Scoop of Django 3 for example

so we can override on different files like this

and configure your settings module for instance in my case is settings/production.py

Conclusion

from here we can design django patterns for large-scale projects, without worrying about adjusting configuration settings in various modes such as in staging, production and development, we can separate everything based on the python file that we modularize

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store