Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions content/manuals/retired.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down