liveBook · Manning

Dynamic configuration management

As explained in Learn Docker in a Month of Lunches, Second Edition

Dynamic configuration is a configuration model in which routing and service settings are discovered or updated automatically while a system is running.

Dynamic configuration updates routing and service settings while applications run. Traefik watches the Docker Engine for containers and uses their labels to build proxy configuration without per-application static files. section 20.4

Label-driven routing

Labels can enable Traefik, route whoami.local to a named router, and send traffic to the service's port 8080. Deploying or changing the application updates Traefik without restarting the proxy. section 20.4

How Learn Docker in a Month of Lunches, Second Edition covers it

How deep it goes
Explains Docker API discovery, labels, dashboard inspection, routing, HTTPS, load balancing, and sticky sessions through runnable operations.
Examples
Uses Traefik, whoami, image-gallery, Docker Compose overrides, dashboard inspection, curl checks, and scaled containers.
What it assumes
Assumes Docker containers, Docker Compose, container labels, and basic command-line operations.
What you can do after
Apply it via Traefik to expose, secure, scale, and verify containerized applications without manually reloading proxy configuration.
How it connects
Connects reverse proxies with Docker API, container labels, routing, HTTPS, load balancing, and sticky sessions.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Learn Docker in a Month of Lunches, Second Edition. The section links point to the parts of the book it draws on.