Dockerise & deploy a Django app with Docker  - Full guide | Django projects | #4

Dockerise & deploy a Django app with Docker - Full guide | Django projects | #4

3.456 Lượt nghe
Dockerise & deploy a Django app with Docker - Full guide | Django projects | #4
🧑‍🏫 COURSES — Learn Cloud Computing & Django 📚 Explore my latest courses: https://www.cloudwithdjango.com/courses In todays video we will learn about how we can dockerise and containerise our Django applications. We are going to go through a vast amount of content. From attaching volumes to utilising postgres, all the way to utilising Render and GitHub container registry for deployment. 🔗 LINK(S) MENTIONED https://www.docker.com/products/docker-desktop/ https://www.youtube.com/watch?v=okHbZjldwJs https://www.docker.com/products/docker-hub/ https://whitenoise.readthedocs.io/en/stable/django.html https://github.com/ https://www.youtube.com/watch?v=tedPkPl1Nvk https://render.com/ https://git-scm.com/downloads/win https://pypi.org/project/gunicorn/ 🚀 MEMBERSHIP PERKS https://ko-fi.com/cloudwithdjango/tiers 📗 SKILLSHARE EXCLUSIVE COURSES Check out my exclusive Python courses on Skillshare! https://www.skillshare.com/en/r/user/arno-pretorius 💌 MY NEWSLETTER Stay updated with new courses, discounts & more: https://www.cloudwithdjango.com/#/portal/signup/free 📑 BLOG Read tutorials & insights on Django & Cloud computing: https://www.cloudwithdjango.com/blog/ 🎫 IT CONSULTATION SERVICES Need help with Django deployment or want to promote your product on my channel? I offer 1-on-1 consultations, including Ask Me Anything sessions: https://www.cloudwithdjango.com/it-consultation/ 📺 WATCH NEXT CRUD Mastery | Build a Django CRM 👉 https://www.youtube.com/watch?v=pqWyUAT38e0 Amazon S3 Storage in Django 👉 https://www.youtube.com/watch?v=JQVQcNN0cXE User registration and authentication in Django 👉 https://www.youtube.com/watch?v=Z3qTXmT0yoI ❤️ SUPPORT Enjoy my content? Support me via Stripe & help me create more: https://donate.stripe.com/28o4hEeFg5mcc3C9AE 🟥 2nd YouTube Channel - Cloud Native For more cloud-focused content: https://www.youtube.com/@CloudOpsTraining MY OTHER SOCIALS 🐦 X (Twitter) 👉 https://x.com/CloudWDjango 🌍 Website 👉 https://www.cloudwithdjango.com WHO AM I? Hey, I’m Arno! 👋 A software developer who is passionate about Django & Cloud computing ⌚️ Video timestamps 00:00 - Introduction 02:12 - Getting started 05:45 - Create a docker file 13:35 - Add a dockerignore file 15:50 - Build a docker image 20:28 - Run a docker container 25:09 - Integrate a docker volume 33:33 - Utilise docker compose 47:39 - Containerise a postgres database for local development 1:06:13 - Persist data with a docker volume 1:12:30 - Integrate a production postgres database 1:18:16 - Handle static assets 1:23:29 - Deployment preparation and environment variables 1:30:31 - Docker file code cleanup 1:30:44 - Generate a personal access token from GitHub 1:32:02 - Formatting and adjustments 1:34:01 - Logging into and building a docker image for GitHub Container Registry 1:35:59 - Pushing a docker image to GitHub Container Registry 1:36:27 - Package management 1:37:28 - Deploy our docker image to Render 1:43:36 - Updating our docker images 1:50:21 - Secure our docker images 1:53:25 - Resource cleanup