MicrolearnENPTES

Configuration in the environment

Lesson 5 of 20 · Ops.Micro

The same image runs in test and production: only the environment variables change.

Addresses, passwords and feature flags change between environments, so they do not belong in the image. Pass them with -e NAME=value and the app reads them at start.

Check yourself

Where should a database password live?

Do it in the browser: a real DevOps tool, a short mission and instant feedback. No install.

Start this lesson — free
← Tags and registriesData that survives →

All lessons · Ops.Micro