feat: use of env vars anywhere in config files

This commit is contained in:
NGPixel
2017-05-13 10:41:33 -04:00
parent 4da9c3d7f2
commit c96e1c01aa
5 changed files with 37 additions and 42 deletions
+1 -3
View File
@@ -19,9 +19,8 @@ host: http://localhost
# ---------------------------------------------------------------------
# Port the main server should listen to (80 by default)
# ---------------------------------------------------------------------
# To use process.env.PORT, comment the line below:
# port: 80
port: $(PORT)
# ---------------------------------------------------------------------
# Data Directories
@@ -103,7 +102,6 @@ sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz
# ---------------------------------------------------------------------
# Database Connection String
# ---------------------------------------------------------------------
# You can also use an ENV variable by using $ENV_VAR_NAME as the value
db: mongodb://mongo:27017/wiki