From 3275110fb1f7a92ffe3fe5e5c729e0354415fb7b Mon Sep 17 00:00:00 2001 From: buuren Date: Wed, 14 Dec 2016 12:18:37 +0200 Subject: [PATCH] Update environment-variables.md Anchor #env-file does not exist. Correct anchor is #envfile --- compose/environment-variables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.