]> git.r.bdr.sh - rbdr/dead-drop/blob - config/config.js
5b29ec466a00252707a6db305c900026917e1eb3
[rbdr/dead-drop] / config / config.js
1 'use strict';
2
3 const Getenv = require('getenv');
4
5 const internals = {};
6
7 /**
8 * The main configuration object for Dead Drop. It will be used to
9 * initialize all of the sub-components. It can extend any property of
10 * the dead drop object.
11 *
12 * @memberof DeadDrop
13 * @typedef {object} tConfiguration
14 * @property {number} [port=1988] the port where the app will listen on
15 */
16 module.exports = internals.Config = {
17 port: Getenv.int('DEAD_DROP_PORT', 1988)
18 };