How to use dotenv with Python

This is a short tutorial on how to use dotenv to read key-value pairs from a .env file and can set them as environment variables. Python-dotenv assists in the development of applications, following the 12-factor principles. InstallationI will be using…

Docker Environment Substitution with Dockerfile

The 12 Factor way, is a general guideline that provides best practices when building applications. One of them is using environment variables to store application configuration. What will we be doing: In this post we will build a simple docker…