Skip to content

Latest commit

 

History

History
executable file
·
26 lines (15 loc) · 958 Bytes

015-Environment-Variables.md

File metadata and controls

executable file
·
26 lines (15 loc) · 958 Bytes

Environment Variables

We can specify an environment variable that we can use in a given code. This is useful when we don't want to modify the code and instead use variables for any values that we need to change in the code.

There are different ways to define environment variables for a containers:

  • Dockerfile
  • Environment File
  • Shell Environment Variables
  • Compose File

To learn more about variables, you check these resources:


Back to first page