소스 검색

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`