mirror of https://github.com/docker/compose.git
Clarify env-file doc that .env is read from cwd
Closes #3381 Signed-off-by: André R <ar@ez.no>
This commit is contained in:
parent
2a08d4731e
commit
6bfdde6855
|
@ -13,8 +13,8 @@ weight=10
|
|||
# Environment file
|
||||
|
||||
Compose supports declaring default environment variables in an environment
|
||||
file named `.env` and placed in the same folder as your
|
||||
[compose file](compose-file.md).
|
||||
file named `.env` placed in the folder `docker-compose` command is executed from
|
||||
*(current working directory)*.
|
||||
|
||||
Compose expects each line in an env file to be in `VAR=VAL` format. Lines
|
||||
beginning with `#` (i.e. comments) are ignored, as are blank lines.
|
||||
|
|
Loading…
Reference in New Issue