aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/config.js b/config/config.js
new file mode 100644
index 0000000..3204568
--- /dev/null
+++ b/config/config.js
@@ -0,0 +1,10 @@
+'use strict';
+
+const Getenv = require('getenv');
+
+const internals = {};
+
+module.exports = internals.Config = {
+ port: Getenv.int('LGTM_PORT', 1728),
+ staticDirectory: Getenv('LGTM_STATIC_DIRECTORY', 'static')
+};