<commit_before>var path = require('path'),
	rootPath = path.normalize(__dirname + '/..'),
	dotenv = require('dotenv'),
	env = process.env.NODE_ENV || 'development';

dotenv.load();

var mongoBaseUri = null;

if (process.env.MONGOLAB_URI) {
	mongoBaseUri = process.env.MONGOLAB_URI;
}
else {
	mongoBaseuri = 'mongodb://localhost:27017/iflux-metrics';
}

var config = {
  development: {
    root: rootPath,
		timeZone: "Europe/Zurich",
		baseUrl: process.env.IFLUX_SERVER_URL || 'http://www.iflux.io',
		siteUrl: process.env.IFLUX_SITE_URL || 'http://www.iflux.io',
    app: {
      name: 'iflux-metrics-action-target'
    },
    port: process.env.PORT || 3002,
    db: mongoBaseUri + '-development'
  },

  test: {
    root: rootPath,
		timeZone: "Europe/Zurich",
		baseUrl: process.env.IFLUX_SERVER_URL || 'http://www.iflux.io',
		siteUrl: process.env.IFLUX_SITE_URL || 'http://www.iflux.io',<commit_msg>Fixed configuration with Docker<commit_after>var path = require('path'),
	rootPath = path.normalize(__dirname + '/..'),
	dotenv = require('dotenv'),
	env = process.env.NODE_ENV || 'development';

if (process.env.NODE_ENV != 'docker') {
	dotenv.load();
}

var mongoBaseUri = null;

if (process.env.MONGOLAB_URI) {
	mongoBaseUri = process.env.MONGOLAB_URI;
}
else {
	mongoBaseuri = 'mongodb://localhost:27017/iflux-metrics';
}

var config = {
  development: {
    root: rootPath,
		timeZone: "Europe/Zurich",
		baseUrl: process.env.IFLUX_SERVER_URL || 'http://www.iflux.io',
		siteUrl: process.env.IFLUX_SITE_URL || 'http://www.iflux.io',
    app: {
      name: 'iflux-metrics-action-target'
    },
    port: process.env.PORT || 3002,
    db: mongoBaseUri + '-development'
  },

  test: {
    root: rootPath,
		timeZone: "Europe/Zurich",
		baseUrl: process.env.IFLUX_SERVER_URL || 'http://www.iflux.io',
		siteUrl: process.env.IFLUX_SITE_URL || 'http://www.iflux.io',
{'fraction_non_alphanumeric': 0.17335473515248795, 'fraction_numerical': 0.009630818619582664, 'mean_word_length': 3.882506527415144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, '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': '2174351', 'n_tokens_mistral': 764, 'n_tokens_neox': 717, 'n_words': 113}