From fea36e9fcc2af8c8fe3606e8149c09796cb59dc1 Mon Sep 17 00:00:00 2001 From: Niels Kaspers <153818647+nielskaspers@users.noreply.github.com> Date: Tue, 20 Oct 2026 14:44:59 +0300 Subject: [PATCH] docs(compose): fix environment variable sentence (#26386) ## Description Fixes #26385. Correct the incomplete sentence in the Compose variable interpolation guide so the relationship between `.env` variables and container environment variables is clear. ## Validation - `git diff --check` - Scoped repository lint was unavailable because the pinned local dependencies are not installed. --- .../how-tos/environment-variables/variable-interpolation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/manuals/compose/how-tos/environment-variables/variable-interpolation.md b/content/manuals/compose/how-tos/environment-variables/variable-interpolation.md index 7ba0d5dfa0..d53479a8d5 100644 --- a/content/manuals/compose/how-tos/environment-variables/variable-interpolation.md +++ b/content/manuals/compose/how-tos/environment-variables/variable-interpolation.md @@ -114,7 +114,7 @@ services: > [!IMPORTANT] > - > Be aware of [Environment variables precedence](envvars-precedence.md) when using variables in an `.env` file that as environment variables in your container's environment. + > Be aware of [Environment variables precedence](envvars-precedence.md) when using variables in an `.env` file that are also used as environment variables in your container's environment. - You can place your `.env` file in a location other than the root of your project's directory, and then use the [`--env-file` option in the CLI](#substitute-with---env-file) so Compose can navigate to it.