1
0
Эх сурвалжийг харах

Document how to see env vars for a service

Ben Firshman 11 жил өмнө
parent
commit
03842f92e8
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      docs/env.md

+ 2 - 0
docs/env.md

@@ -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`