18 Application configuration management in containers
Applications need to load their configuration from the environment they’re running in, which is usually a combination of environment variables and files read from disk. Docker creates that environment for apps running in containers, and it can set environment variables and construct a filesystem from many different sources. The pieces are all there to help you build a flexible configuration approach for your apps, so when you deploy to production you’re using the same image that passed all the test phases. You just need to do some work to bring the pieces together, setting up your app to merge configuration values from multiple places.
This chapter will take you through the recommended approach ...
Get Learn Docker in a Month of Lunches now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.