Contents
Where is the .ENV file located?
env file is placed at the base of the project directory. Project directory can be explicitly defined with the –file option or COMPOSE_FILE environment variable. Otherwise, it is the current working directory where the docker compose command is executed ( +1.28 ). For previous versions, it might have trouble resolving …
Where is ENV file in Ubuntu?
As recommended on
- Global environment variables meant to affect all users should go in /etc/environment .
- User-specific environment variables should be set in ~/. pam_environment .