var config = {}; config.mongo = {}; config.redis = {}; config.mongo.user = 'user1' config.mongo.password= 'pass1' config.redis.host = 'redisserver'; config.redis.port = 6379; module.exports = config;