Folks, I have been working on developing a docker-compose file for our startup application for the last couple of days. I used the app's v1.0.0 version but slightly tweaked the source code, especially the settings.py file, to fit into the docker environment. Now, three containers combined serve the startup application: one for NGINX, another for Gunicorn on top of Django, and the last one for Postgres. The Docker image is pushed to my DockerHub account.
If you are interested, use the below image:
The next task is to orchestrate them using Kubernetes. Yes, I am on itπ₯
I will soon upload the code to my GitHub repo.