Docker and CI/CD · Junior · Question 56 of 75

Why keep configuration such as database URLs in environment variables?

Explanation

Twelve-factor apps separate config from code, so one artifact is promoted from staging to production with different settings.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 56

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz