From f9317483d350d7d31ae57d482ce7cd1c66717d98 Mon Sep 17 00:00:00 2001 From: Richard Scothern Date: Mon, 19 Oct 2015 14:52:08 -0700 Subject: [PATCH] Clearer documentation around environment variable overrides Signed-off-by: Richard Scothern --- docs/configuration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 500656e37..c47110165 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -33,6 +33,8 @@ To override this value, set an environment variable like this: This variable overrides the `/var/lib/registry` value to the `/somewhere` directory. +>**NOTE**: It is highly recommended to create a base configuration file with which environment variables can be used to tweak individual values. Overriding configuration sections with environment variables is not recommended. + ## Overriding the entire configuration file If the default configuration is not a sound basis for your usage, or if you are having issues overriding keys from the environment, you can specify an alternate YAML configuration file by mounting it as a volume in the container.