Python Web Application Deployment Tutorial - Using Docker & Docker Compose - Part 1

Опубликовано: 06 Октябрь 2024
на канале: JimShapedCoding
16,232
397

#Flask #Docker #DockerCompose #Python
Welcome to a new series about Flask and Docker combined! In this video, you will learn the best practices to deploy your Web application do production, using the best deployment tools like Docker and Docker Compose, and more!

First time using Docker? Consider watching my getting started 40-minute tutorial that will clarify a lot for you:    • Docker in 40 minutes (Includes Hands-on)  

👍 Subscribe for more Tutorials like this!
   / @jimshapedcoding  
🔥 Comment below on other topics you want to see tutorials next on my Channel.
-----------------------------------------------

My website:
http://www.jimshapedcoding.com​

🎥 My YouTube Gear 🎥
Camera (Canon EOS 250D) : https://amzn.to/314euVC
Microphone (Rode NT-Mini) : https://amzn.to/3bDqEer
Headphones (JBL LIVE 500BT) : https://amzn.to/3e73MDS
Tripod (Neewer Portable Tripod) : https://amzn.to/2OXleC6
Desklight(AUKEY Cordless Lamp): https://amzn.to/2QaYT4A
Keyboard ( Razer Blackwidow Green Switch ) : https://amzn.to/3bExDnu
Mouse ( Razer LanceHead ) : https://amzn.to/3if0JuV
Lights ( Neewer 2-Pack Dimmable ): https://amzn.to/3oFN1DP

Useful Links:
Docker Official Documentation - https://docs.docker.com/get-docker/
Chocolatey Installation: https://www.chocolatey.org/install (will help you to automate installation on your windows machine)
Docker Hub (All the official Images) - https://hub.docker.com/

GitHub Repository with the code of the project: (Scroll down to the 16th folder)
https://github.com/jimdevops19/FlaskS...


Timeline:
The app we will deploy to production - 00:00 - 02:55
Dependencies of our app (requirements.txt) 02:56 - 05:28
Creating the Dockerfile and organizing configurations - 05:29 - 13:31
Building and running Flask container - 13:32 - 17:36
Configuring Database configurations - 17:37 - 26:39
Testing the application with DEBUG on&off - 26:40 - 31:25