diff --git a/compose/environment-variables.md b/compose/environment-variables.md index ac51dcafd7..073695bb0f 100644 --- a/compose/environment-variables.md +++ b/compose/environment-variables.md @@ -39,7 +39,7 @@ The value of the `DEBUG` variable in the container will be taken from the value ## The “env_file” configuration option -You can pass multiple environment variables from an external file through to a service's containers with the ['env_file' option](compose-file.md#env-file), just like with `docker run --env-file=FILE ...`: +You can pass multiple environment variables from an external file through to a service's containers with the ['env_file' option](compose-file.md#envfile), just like with `docker run --env-file=FILE ...`: web: env_file: @@ -95,4 +95,4 @@ Several environment variables are available for you to configure the Docker Comp ## Environment variables created by links -When using the ['links' option](compose-file.md#links) in a [v1 Compose file](compose-file.md#version-1), environment variables will be created for each link. They are documented in the [Link environment variables reference](link-env-deprecated.md). Please note, however, that these variables are deprecated - you should just use the link alias as a hostname instead. \ No newline at end of file +When using the ['links' option](compose-file.md#links) in a [v1 Compose file](compose-file.md#version-1), environment variables will be created for each link. They are documented in the [Link environment variables reference](link-env-deprecated.md). Please note, however, that these variables are deprecated - you should just use the link alias as a hostname instead.