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

Add documention for key-only environment

Signed-off-by: Ryan Brainard <[email protected]>
Ryan Brainard 11 жил өмнө
parent
commit
d1052ff666
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      docs/yml.md

+ 3 - 0
docs/yml.md

@@ -55,8 +55,11 @@ volumes:
  - cache/:/tmp/cache
 
 -- Add environment variables.
+-- Environment variables with only a key are resolved to values on the host 
+-- machine, which can be helpful for secret or host-specific values.
 environment:
   RACK_ENV: development
+  SESSION_SECRET:
 ```
 
 -- Networking mode. Use the same values as the docker client --net parameter