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:
André R 2016-04-27 13:45:59 +02:00 committed by André R
parent 8cc7d68a00
commit 84aa39e978
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ weight=10
# Environment file # Environment file
Compose supports declaring default environment variables in an environment Compose supports declaring default environment variables in an environment
file named `.env` and placed in the same folder as your file named `.env` placed in the folder `docker-compose` command is executed from
[compose file](compose-file.md). *(current working directory)*.
Compose expects each line in an env file to be in `VAR=VAL` format. Lines 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. beginning with `#` (i.e. comments) are ignored, as are blank lines.