Preface
Main idea: Add Env variables in Portainer
Reading
fundamentals - Environment variables in docker run - Environment variables in Compose
Environment variables
What is Docker environment variable?
Set environment variables (-e, –env, –env-file)
When running the command, the Docker CLI client checks the value the variable has in your local environment and passes it to the container. If no = is provided and that variable is not exported in your local environment, the variable won’t be set in the container.
I need to set an environment (ENV) to connect/linked phpmyadmin to mySQL database
- PMA_HOST:
(is not container name!) - PMA_PORT: