From 17bab46d18ec1785fb1dc8ccfececa1e180107ce Mon Sep 17 00:00:00 2001 From: aevesdocker Date: Mon, 11 Aug 2025 11:35:07 +0100 Subject: [PATCH] Issue triage --- .../compose/how-tos/environment-variables/envvars.md | 10 ++++++++++ content/manuals/retired.md | 1 + 2 files changed, 11 insertions(+) diff --git a/content/manuals/compose/how-tos/environment-variables/envvars.md b/content/manuals/compose/how-tos/environment-variables/envvars.md index f17aa2b9f2cb..25ed517d2182 100644 --- a/content/manuals/compose/how-tos/environment-variables/envvars.md +++ b/content/manuals/compose/how-tos/environment-variables/envvars.md @@ -24,6 +24,7 @@ This page explains how to set or change the following pre-defined environment va - `COMPOSE_ANSI` - `COMPOSE_STATUS_STDOUT` - `COMPOSE_ENV_FILES` +- `COMPOSE_DISABLE_ENV_FILE` - `COMPOSE_MENU` - `COMPOSE_EXPERIMENTAL` - `COMPOSE_PROGRESS` @@ -123,6 +124,15 @@ COMPOSE_ENV_FILES=.env.envfile1, .env.envfile2 If `COMPOSE_ENV_FILES` is not set, and you don't provide `--env-file` in the CLI, Docker Compose uses the default behavior, which is to look for an `.env` file in the project directory. +#### COMPOSE\_DISABLE\_ENV\_FILE + +Lets you disable the use of the default `.env` file. + +- Supported values: + - `true` or `1`, Compose ignores the `.env` file + - `false` or `0`, Compose looks for an `.env` file in the project directory +- Defaults to: `0` + ### Environment handling and container lifecycle #### COMPOSE\_CONVERT\_WINDOWS\_PATHS diff --git a/content/manuals/retired.md b/content/manuals/retired.md index c99eec578f82..a1fc9e878e05 100644 --- a/content/manuals/retired.md +++ b/content/manuals/retired.md @@ -67,6 +67,7 @@ aliases: - /desktop/features/dev-environments/set-up/ - /desktop/features/dev-environments/share/ - /desktop/features/dev-environments/dev-cli/ + - /desktop/dev-environments/ --- This document provides an overview of Docker features, products, and