Add a note to `env_file` option (#932)

* Add a note to `env_file` option
This commit is contained in:
Dan Keder 2016-12-20 00:02:42 +01:00 committed by Misty Stanley-Jones
parent 79bd98b56e
commit 36ac04c1fa
1 changed files with 4 additions and 1 deletions

View File

@ -276,7 +276,6 @@ The entrypoint can also be a list, in a manner similar to
> clear out any default command on the image - meaning that if there's a `CMD`
> instruction in the Dockerfile, it will be ignored.
### env_file
Add environment variables from a file. Can be a single value or a list.
@ -304,6 +303,10 @@ beginning with `#` (i.e. comments) are ignored, as are blank lines.
> build. Use the [args](compose-file.md#args) sub-option of `build` to define build-time
> environment variables.
The value of `VAL` is used as is and not modified at all. For example if the value is
surrounded by quotes (as is often the case of shell variables), the quotes will be
included in the value passed to Compose.
### environment
Add environment variables. You can use either an array or a dictionary. Any