|
@@ -1,15 +1,16 @@
|
|
|
<!--[metadata]>
|
|
|
+++
|
|
|
-title = "Environment Variables Reference"
|
|
|
+title = "Link Environment Variables"
|
|
|
description = "Compose CLI reference"
|
|
|
keywords = ["fig, composition, compose, docker, orchestration, cli, reference"]
|
|
|
+aliases = ["/compose/env"]
|
|
|
[menu.main]
|
|
|
parent="workw_compose"
|
|
|
weight=89
|
|
|
+++
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
-# Compose environment variables reference
|
|
|
+# Link environment variables reference
|
|
|
|
|
|
> **Note:** Environment variables are no longer the recommended method for connecting to linked services. Instead, you should use the link name (by default, the name of the linked service) as the hostname to connect to. See the [docker-compose.yml documentation](compose-file.md#links) for details.
|
|
|
>
|