Рет қаралды 33,440
Get the source code for this video for FREE → the-dotnet-weekly.ck.page/doc...
☄️ Master the Modular Monolith Architecture: bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: / milanjovanovic
Docker is a platform designed to help developers build, share, and run container applications. A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing. Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services. You can easily containerize your .NET applications with a Dockerfile. Visual Studio can help you by scaffolding a Compose YAML file you can further customize. I'll show you how to start with Docker Compose in this video.
Check out my courses: bit.ly/3PupkOJ
5 Awesome C# Refactoring Tips
www.milanjovanovic.tech/blog/...
Join my weekly .NET newsletter:
www.milanjovanovic.tech
Read my Blog here:
www.milanjovanovic.tech/blog
Chapters
0:00 Adding the Docker-Compose project
1:15 Reviewing the Dockerfile
2:14 Reviewing the Docker Compose YAML file
3:08 Adding PostgreSQL using Docker compose
5:15 Connecting to PostgreSQL running inside Docker
6:33 Running with Docker Compose from Visual Studio