Dockerized DEV Environment with DevContainers | Multiple Containers | VSCode

Опубликовано: 02 Октябрь 2024
на канале: Chandra Shettigar
2,416
92

Let's walk through setting up a local development environment, with multiple container setup, using VSCode extension DevContainers.

This will involve a 2-tier application development with an app and database components both running as containers using DevContainers with Docker Compose in VSCode.

https://www.devteds.com/devcontainers...

Source code:
https://github.com/devteds/devcontain...

It is a Ruby on Rails application, containerized using multi-stage Dockerfile and setup with DevContainers & Docker Compose with MySQL as its database layer.

------------------------------------------------------------------------
Related content:

Course: Kubernetes on AWS (Hands-on Get Started Guide):
https://www.devteds.com/kubernetes-co...

Episode - Multi-Stage Docker Build
   • Docker Multi-stage for Production-rea...  

Episode - Local DevOps Environment With Docker using Dev Containers
   • How To Set Up Local DevOps Environmen...  

Episode - MySQL and PostgreSQL with Docker in Development
   • MySQL & PostgreSQL with Docker in dev...  

------------------------------------------------------------------------
Commands & README:
https://github.com/devteds/devcontain...



------------------------------------------------------------------------
Author:

Chandra Shettigar | Devteds, LLC

https://devteds.com,   / shettigarc  ,   / shettigar  

------------------------------------------------------------------------

Chapters:
--------------

00:00 Introduction
00:41 App Stack
00:59 Create Application Dev Container
04:49 Transform to Multi-Containers
08:10 Add Database Container
10:17 Use Dockerfile for App Container
11:42 Link App & DB Containers
14:06 Data & Test
16:03 Wrap up