diff --git a/compose/environment-variables.md b/compose/environment-variables.md index 42680cce17..662eb23060 100644 --- a/compose/environment-variables.md +++ b/compose/environment-variables.md @@ -53,7 +53,7 @@ the same variable in the shell in which Compose is run. ## 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#envfile), +a service's containers with the ['env_file' option](compose-file.md#env_file), just like with `docker run --env-file=FILE ...`: ```yaml