From 2b22783c036678f0b68079e605ed9970b8a9ecd0 Mon Sep 17 00:00:00 2001 From: Sergii Boboshko Date: Sun, 29 Dec 2024 20:49:02 +0100 Subject: [PATCH] fix: square brackets --- .../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 8ecc782cba18..a13e51a9305f 100644 --- a/content/manuals/compose/how-tos/environment-variables/variable-interpolation.md +++ b/content/manuals/compose/how-tos/environment-variables/variable-interpolation.md @@ -203,7 +203,7 @@ $ docker compose --env-file ./config/.env.dev up $ docker compose --env-file .env.dev up -e DATABASE_URL=mysql://new_user:new_password@new_db:3306/new_database ``` -### local `.env` file versus `.env` file +### local `.env` file versus <project directory> `.env` file An `.env` file can also be used to declare [pre-defined environment variables](envvars.md) used to control Compose behavior and files to be loaded.