Proofread Compose Environment Variables (#17269)

This commit is contained in:
bagratte 2023-05-10 16:04:46 +04:00 committed by GitHub
parent 9e1368bc5a
commit 517bd4b035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1790,7 +1790,7 @@ manuals:
- path: /compose/environment-variables/set-environment-variables/
title: Explore ways to set environment variables
- path: /compose/environment-variables/envvars-precedence/
title: Understand environment variables' precedence
title: Understand environment variables precedence
- path: /compose/environment-variables/env-file/
title: Use an environment file
- path: /compose/environment-variables/envvars/

View File

@ -8,7 +8,7 @@ redirect_from:
---
{% include compose-eol.md %}
Environment variables are dealt with by either the Compose file or the CLI. Both have multiple ways you can substitute in or set, your environment variables. This is outlined below.
Environment variables are dealt with by either the Compose file or the CLI. Both have multiple ways you can substitute in or set your environment variables. This is outlined below.
## Compose file
@ -28,7 +28,7 @@ services:
image: "webapp:${TAG}"
```
When you run `docker compose up`, the `web` service defined in the Compose file substitues in the
When you run `docker compose up`, the `web` service defined in the Compose file substitutes in the
image `webapp:v1.5` which was set in the `.env` file. You can verify this with the
[config command](../../engine/reference/commandline/compose_config.md), which prints your resolved application config to the terminal: