Dockerize FastAPI app for Development and Production | Scalable and Hot-Reload
Автор: Build With LaL
Загружено: 2024-12-01
Просмотров: 426
Описание:
Chapters:
00:00 Intro
00:17 Setup FastAPI Project
02:56 Setup Dockerfile for Development
03:51 Setup Docker Entrypoint for Development
04:40 Add .env
05:00 Setup Docker Compose for Development
07:00 Run and Test Development Dockerfile
07:54 How to Install a Python Package in FastAPI Container
08:36 Setup Dockerfile for Production
10:14 Setup Gunicorn configurations for Production
11:28 Setup Docker Entrypoint for Production
11:48 Build and Run Production Docker Image
13:26 Summary
In this video, i'll walk you guys through how to dockerize your FastAPI app for local development and production.
we'll also setup two different docker files one for local and one for production alongside separate entrypoints for both dev and production.
we'll setup uvicorn to run app locally and gunicorn to to run the app on production keeping scalability in mind.
Source code available here on GitHub
https://github.com/BuildWithLal/docke...
This demo is published as article on medium.com as well. Please check here
/ dockerize-fastapi-for-development-and-prod...
We have a full playlist of all dockerization related videos here
• Dockerization
#docker #docker-compose #dockerization #fastapi #dockerize-fastapi #containerize-fastapi #uvicorn #gunicorn
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: