mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Issue triage (#23228)
<!--Delete sections as needed --> ## Description Closes https://github.com/docker/docs/issues/23222 Closes https://github.com/docker/docs/issues/23223 ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user