Skip to content

Commit e2f8dee

Browse files
duffuniversesarahsanders-docker
authored andcommitted
Fix typos in the "Pre-defined environment variables in Compose" manual (docker#22492)
## Description This pull request fixes stale Compose CLI documentation URLs and a few minor typos.
1 parent 5a00328 commit e2f8dee

File tree

1 file changed

+6
-6
lines changed
  • content/manuals/compose/how-tos/environment-variables

1 file changed

+6
-6
lines changed

content/manuals/compose/how-tos/environment-variables/envvars.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Compose can set the project name in different ways. The level of precedence (fro
5050

5151
1. The `-p` command line flag
5252
2. `COMPOSE_PROJECT_NAME`
53-
3. The top level `name:` variable from the config file (or the last `name:` from
53+
3. The top-level `name:` variable from the config file (or the last `name:` from
5454
a series of config files specified using `-f`)
5555
4. The `basename` of the project directory containing the config file (or
5656
containing the first config file specified using `-f`)
@@ -78,26 +78,26 @@ Specifies the path to a Compose file. Specifying multiple Compose files is suppo
7878
```
7979
The path separator can also be customized using [`COMPOSE_PATH_SEPARATOR`](#compose_path_separator).
8080

81-
See also the [command-line options overview](/reference/cli/docker/compose/_index.md#command-options-overview-and-help) and [using `-f` to specify name and path of one or more Compose files](/reference/cli/docker/compose/_index.md#use--f-to-specify-name-and-path-of-one-or-more-compose-files).
81+
See also the [command-line options overview](/reference/cli/docker/compose/_index.md#command-options-overview-and-help) and [using `-f` to specify name and path of one or more Compose files](/reference/cli/docker/compose/_index.md#use--f-to-specify-the-name-and-path-of-one-or-more-compose-files).
8282

8383
### COMPOSE\_PROFILES
8484

8585
Specifies one or more profiles to be enabled when `docker compose up` is run.
8686

8787
Services with matching profiles are started as well as any services for which no profile has been defined.
8888

89-
For example, calling `docker compose up`with `COMPOSE_PROFILES=frontend` selects services with the
89+
For example, calling `docker compose up` with `COMPOSE_PROFILES=frontend` selects services with the
9090
`frontend` profile as well as any services without a profile specified.
9191

9292
If specifying multiple profiles, use a comma as a separator.
9393

94-
This following example enables all services matching both the `frontend` and `debug` profiles and services without a profile.
94+
The following example enables all services matching both the `frontend` and `debug` profiles and services without a profile.
9595

9696
```console
9797
COMPOSE_PROFILES=frontend,debug
9898
```
9999

100-
See also [Using profiles with Compose](../profiles.md) and the [`--profile` command-line option](/reference/cli/docker/compose/_index.md#use---profile-to-specify-one-or-more-active-profiles).
100+
See also [Using profiles with Compose](../profiles.md) and the [`--profile` command-line option](/reference/cli/docker/compose/_index.md#use-profiles-to-enable-optional-services).
101101

102102
### COMPOSE\_CONVERT\_WINDOWS\_PATHS
103103

@@ -179,7 +179,7 @@ When enabled, Compose displays a navigation menu where you can choose to open th
179179
- Supported values:
180180
- `true` or `1`, to enable
181181
- `false` or `0`, to disable
182-
- Defaults to: `1` if you obtained Docker Compose through Docker Desktop, otherwise default is `0`
182+
- Defaults to: `1` if you obtained Docker Compose through Docker Desktop, otherwise the default is `0`
183183

184184
### COMPOSE\_EXPERIMENTAL
185185

0 commit comments

Comments
 (0)