How to configure a Django project to run in Docker using uWSGI for a production deployment.
Links:
- Starter project: github.com/LondonAppDeveloper...
- usgi_params file: uwsgi-docs.readthedocs.io/en/...
-Advanced course - DevOps Deployment Automation with Terraform, AWS and Docker: londonappdeveloper.thinkific....
- Finished code: github.com/LondonAppDeveloper...
00:00 - Introduction
00:54 - Open Hello World starter project
01:31 - Create a Dockerfile for the project
04:55 - Copy contents of app to the Dockerfile
06:05 - Set up new folders for static files
07:25 - Create a new user to run application
09:52 - Modify requirements.txt to add the uWSGI server
14:40 - Set up Docker-compose file to run application using Docker on local machine
17:30 - Test our application
18:42 - Create our NGINX proxy
22:10 - Create the Dockerfile for our NGINX proxy
25:12 - Test building our file
25:38 - Customise the configuration of our Django app
31:35 - Create a new Dockerfile in the root of our project
COURSES I TEACH
• Build a Backend REST API with Python & Django BEGINNER: www.udemy.com/course/django-p...
• Build a Backend REST API with Python & Django, Django REST Framework and Docker using Test Driven Development (TDD) ADVANCED: www.udemy.com/course/django-p...
• DevOps Deployment Automation with Terraform, AWS and Docker: londonappdeveloper.thinkific....
OTHER VIDEOS YOU MIGHT LIKE:
○ BUILD A BACKEND REST API with Python, Django REST Framework, Django, Vagrant & VirtualBox - • Build a BEGINNER backe...
○ BUILD A BACKEND REST API with Python, Django & Test Driven Development - • Build an ADVANCED back...
○ CREATING A DJANGO PROJECT with Docker - • CREATING A DJANGO PROJ...
○ Setting up PostgreSQL database with a Django Docker application - • Setting up PostgreSQL ...
○ Dockerizing a Django REST Framework Project - • Dockerizing a Django R...
○ THE 4 BEST WAYS TO DEPLOY A DJANGO APPLICATION - • The 4 best ways to dep...
8 июл 2024