How do you design the config strategy for containerized apps (12-factor)?
IntermediateProductionArchitecture & Design Decisions
Answer
Same image in every environment; behavior comes from config injected at runtime: environment variables for simple values, mounted files for structured config and secrets, a config service or parameter store for dynamic values. No environment-specific builds. Validate config at startup and fail fast with a clear error.
More on Architecture & Design Decisions
How would you design a container build-and-deploy pipeline from commit to production?AdvancedWhen should you use Docker Compose, Swarm, ECS, or Kubernetes?IntermediateHow do you decide how many processes belong in one container?BeginnerHow would you containerize a legacy app that writes to local disk and holds sessions in memory?AdvancedAlpine or Debian-slim for a Python service?IntermediateHow do you structure a reverse proxy in front of containers?Intermediate