mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
compose: fix incorrect page aliases resulting in 404s
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -7,7 +7,7 @@ keywords: compose, environment, env file
|
||||
weight: 20
|
||||
aliases:
|
||||
- /compose/envvars-precedence/
|
||||
- /compose/environment-variables/envvvars-precedence/
|
||||
- /compose/environment-variables/envvars-precedence/
|
||||
---
|
||||
|
||||
When the same environment variable is set in multiple sources, Docker Compose follows a precedence rule to determine the value for that variable in your container's environment.
|
||||
|
||||
@@ -7,7 +7,7 @@ keywords: compose, orchestration, environment, environment variables, container
|
||||
aliases:
|
||||
- /compose/env/
|
||||
- /compose/link-env-deprecated/
|
||||
- /compose/set-environment-variables/
|
||||
- /compose/environment-variables/set-environment-variables/
|
||||
---
|
||||
|
||||
A container's environment is not set until there's an explicit entry in the service configuration to make this happen. With Compose, there are two ways you can set environment variables in your containers with your Compose file.
|
||||
|
||||
Reference in New Issue
Block a user