Environment Variables
Environment variables are closely related to the technology of Docker. They are usually written in the .env
or .txt
file right in the project directory.
The main reason for using environment variables is to improve the flexibility of your application when using Docker. You can for example use a PORT
environment variable to specify on which port to run a backend application (e.g., PORT=80
).
Prerequisites
(/admin-manuals/application-components)).
Steps
The following animation details how to create or update environment variables for an already existing application component:
You also have the possibility to create environment variables when you create a new component: