Configuration is one of the areas of architecture and implementation that are often overlooked by product teams. A lot of teams just assume that the legacy paradigms for configuring applications will work fine in the cloud. Further, it’s easy to assume that you’ll “just” inject all configuration through environment variables.
Configuration in a microservice ecosystem requires attention to a number of other factors, including:
Not every team has to worry about all of these things, but this is just a hint as to the complexity of configuration management lying below the surface waiting to strike those who underestimate this problem.
This chapter will begin by talking about the mechanics of using environment variables in an application and illustrate Docker’s support for this. Next, we’ll ...