From 9891d93c0dd24bc5f3b55380d89daea130dc9cbb Mon Sep 17 00:00:00 2001 From: Dan Hemberger Date: Sat, 4 Nov 2017 17:26:22 -0700 Subject: [PATCH] config.sample.yml: fix syntax for using ENV variables The variable name must be enclosed in parentheses, otherwise it is interpreted verbatim. Move this tip to the top of the file, since it applies to all fields, not just the 'db' field. --- config.sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.sample.yml b/config.sample.yml index aa1e7c0a..34b26174 100644 --- a/config.sample.yml +++ b/config.sample.yml @@ -3,6 +3,7 @@ ####################################################################### # Full explanation + examples in the documentation: # https://docs.requarks.io/wiki/install +# You can use an ENV variable by using $(ENV_VAR_NAME) as the value # --------------------------------------------------------------------- # Title of this site @@ -107,7 +108,6 @@ sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz # --------------------------------------------------------------------- # Database Connection String # --------------------------------------------------------------------- -# You can also use an ENV variable by using $ENV_VAR_NAME as the value db: mongodb://localhost:27017/wiki