A walkthrough on using Docker Compose to orchestrate a multi-container ASP.NET Core application called PlayBall. Covers creating environment-specific configuration files (appsettings.DockerDevelopment.json), setting up HAProxy as a reverse proxy with ACL-based routing rules, defining Docker Compose services with networking, port exposure, and service dependencies, and running the entire stack with a single command. Also discusses container networking DNS resolution and the alias workaround for the auth service redirect issue.

14m read timeFrom blog.codingmilitia.com
Post cover image
Table of contents
Intro #New environment configurations #Setting up the reverse proxy #Creating the Docker Compose file #Running the application #Outro #