Summary
In this chapter, we’ve looked at a few different ways to set up our development environment. We first looked at the local environment on our own computers, learning how to set up our infrastructure using Docker Compose as well as Kubernetes. Following that, we examined the use of online and portable environments using tooling provided by GitHub and Visual Studio Code. We explored how to generate Dockerfiles for our service projects and how to determine when a multi-stage Dockerfile makes sense. Using this new knowledge, you are equipped to build Dockerfiles to create images from your service projects as well as add targeted layers to the image build process to handle specific needs. Finally, we added our services to our Docker Compose file and started everything up in a single, cohesive stack.
In the next chapter, we will take that environment setup and put it through the paces by running, debugging, and testing those services using the environment we set up.