2015-02-06 16:46:55 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
// Production specific configuration
|
|
|
|
// =================================
|
|
|
|
module.exports = {
|
|
|
|
// Server IP
|
|
|
|
ip: process.env.OPENSHIFT_NODEJS_IP ||
|
|
|
|
process.env.IP ||
|
|
|
|
undefined,
|
|
|
|
|
|
|
|
// Server port
|
|
|
|
port: process.env.OPENSHIFT_NODEJS_PORT ||
|
|
|
|
process.env.PORT ||
|
|
|
|
8080,
|
|
|
|
|
|
|
|
// MongoDB connection options
|
|
|
|
mongo: {
|
|
|
|
uri: process.env.MONGOLAB_URI ||
|
|
|
|
process.env.MONGOHQ_URL ||
|
|
|
|
process.env.OPENSHIFT_MONGODB_DB_URL+process.env.OPENSHIFT_APP_NAME ||
|
2015-04-17 18:59:48 +02:00
|
|
|
'mongodb://mongodb/markdownformatwdiff'
|
2015-02-06 16:46:55 +01:00
|
|
|
}
|
2015-04-17 18:59:48 +02:00
|
|
|
};
|