<commit_before>var path = require('path');

module.exports = {
	port: process.env.PORT || 3001,
	mongodb: {
		url: 'mongodb://127.0.0.1:27017/vivid'
	},
	schemeConf: path.join(__dirname, './default.scheme'),
	staticPath: path.join(__dirname, '../public/build'),
	staticOption: {
		// maxAge: 24 * 60 * 60 * 6,
	},
};<commit_msg>config: use environment variable as mongo host<commit_after>var path = require('path');
var MONGO_HOST = process.env.MONGO_HOST || '127.0.0.1';
var MONGO_PORT = process.env.MONGO_PORT || '27017';


module.exports = {
	port: process.env.PORT || 3001,
	mongodb: {
    url: 'mongodb://' + MONGO_HOST + ':' + MONGO_PORT + '/vivid'
	},
  key: process.env.KEY || '',
	schemeConf: path.join(__dirname, './default.scheme'),
	staticPath: path.join(__dirname, '../public/build'),
	staticOption: {
		// maxAge: 24 * 60 * 60 * 6,
	},
};
{'fraction_non_alphanumeric': 0.2007042253521127, 'fraction_numerical': 0.051643192488262914, 'mean_word_length': 3.9022988505747125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7011588', 'n_tokens_mistral': 362, 'n_tokens_neox': 315, 'n_words': 63}