فهرست منبع

Document how to see env vars for a service

Ben Firshman 11 سال پیش
والد
کامیت
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`