Document how to see env vars for a service

This commit is contained in:
Ben Firshman 2014-01-30 10:48:25 +00:00
parent 8a2bbeb1eb
commit 03842f92e8
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ Environment variables reference
Fig uses [Docker links] to expose services' containers to one another. Each linked container injects a set of environment variables, each of which begins with the uppercase name of the container.
To see what environment variables are available to a service, run `fig run SERVICE env`.
<b><i>name</i>\_PORT</b><br>
Full URL, e.g. `DB_1_PORT=tcp://172.17.0.5:5432`