Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Docker Compose Step-by-Step: Deploy FastAPI, Postgres, Redis & Celery | #3
Play lesson

FastAPI Production Deployment with Docker Swarm | Complete Zero-Downtime Architecture Guide - Docker Compose Step-by-Step: Deploy FastAPI, Postgres, Redis & Celery | #3

5.0 (2)
27 learners

What you'll learn

This course includes

  • 5.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Code Repo: https://github.com/GuptaKshitiz/FastAPI-E-Commarce/tree/dev-deployment In Docker Compose Step-by-Step: Deploy FastAPI, Postgres, Redis & Celery | (Part-3) Ready to bring your application to life? In Part 1, we built the individual Dockerfiles for our FastAPI, Celery, and DB components. Now, in Part 2, we connect the dots using Docker Compose to launch a full production-ready stack on a Linux server! 🏗️ What’s in this Video? We move from isolated containers to a unified orchestration. You will see: 1. Writing the Docker Compose File: A step-by-step breakdown of defining services, networks, and volumes for FastAPI, Postgres, Redis, and Celery. 2. Environment Variables & Secrets: Securely managing database credentials and broker URLs. 3. Linux Server Installation: How to transfer your code to a Linux environment and run docker-compose up. 4. Live Testing with Postman: We verify the API endpoints, database persistence, and background job queue (Celery) to ensure everything is working perfectly. 🔗 Missed Previous Part? If you haven't containerized your FastAPI app yet, watch these Part here: [https://youtu.be/clFKYoUlnVo] [https://youtu.be/8HzbxV6rgUQ] 🛠️ Key Technical Highlights 1. Service Dependency: Using depends_on to ensure your DB and Redis start before your web app. 2. Volume Mapping: How to keep your Postgres data safe even if the container restarts. 3. Background Tasks: Watching Celery pick up jobs from Redis in real-time. 4. Linux Deployment: Using the terminal to manage your production stack. 📌 Timestamps 00:00 - Introduction with What we will learn 00:25 - Updating DockerFile for Celery and Web Application 03:03 - Designing Docker-Compose File 24:12 - Code Changes for Docker-Compose 29:04 - Running and Fixing Docker-compose File With Postman Test 🔥 Perfect for DevOps, backend engineers, and cloud learners building real-world deployments. Don't forget to Like, Share, and Subscribe for more advanced FastAPI and Python development tutorials! Subscribe for regular, high-quality tech tutorials! https://www.youtube.com/@CodeGoat-s2y?sub_confirmation=1 #FastAPI #DockerCompose #LinuxDeployment #Postman #DevOps #PythonBackend #CeleryWorker #Redis #SoftwareEngineering

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere