From d1052ff666e5bf413b88e10ec5e640daf3e7876b Mon Sep 17 00:00:00 2001 From: Ryan Brainard Date: Fri, 11 Jul 2014 10:07:50 -0700 Subject: [PATCH] Add documention for key-only environment Signed-off-by: Ryan Brainard --- docs/yml.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/yml.md b/docs/yml.md index 5a5a2af631..6204122fbc 100644 --- a/docs/yml.md +++ b/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