-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Open
Labels
area/composeRelates to docker-compose.yml spec or docker-compose binaryRelates to docker-compose.yml spec or docker-compose binary
Description
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
Other
Description
As a noob, I would expect the first option described on this page to be "use a .env file in the project directory, which is read by default" , whcih now is mentioned only later (here + here)
Location
https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/
Suggestion
add as first section:
## Use a `.env` file
Docker Compose by default looks for an `.env` file in the project directory in the project directory. For more details see [Variable Interpolation](https://docs.docker.com/compose/how-tos/environment-variables/variable-interpolation/#env-file)
Metadata
Metadata
Assignees
Labels
area/composeRelates to docker-compose.yml spec or docker-compose binaryRelates to docker-compose.yml spec or docker-compose binary