2017-05-10 11:04:06 +02:00
|
|
|
module.exports = {
|
|
|
|
port: 8091,
|
2018-03-30 20:21:28 +02:00
|
|
|
resourceLocation: __dirname + '/../resource',
|
2017-05-10 11:04:06 +02:00
|
|
|
|
|
|
|
database: {
|
|
|
|
uri: 'mongodb://localhost:27017/',
|
|
|
|
db: 'cc',
|
2019-02-16 11:12:34 +01:00
|
|
|
mongooseConfig: {
|
|
|
|
useNewUrlParser: true,
|
|
|
|
useCreateIndex: true
|
|
|
|
}
|
2017-05-10 11:04:06 +02:00
|
|
|
},
|
|
|
|
|
2018-02-04 16:36:42 +01:00
|
|
|
prod: {
|
2018-03-12 09:26:44 +01:00
|
|
|
env: 'production',
|
2018-02-04 16:36:42 +01:00
|
|
|
},
|
|
|
|
|
2017-05-23 13:26:26 +02:00
|
|
|
dev: {
|
2018-03-12 09:26:44 +01:00
|
|
|
env: 'dev',
|
2017-05-23 13:26:26 +02:00
|
|
|
},
|
|
|
|
|
2017-05-10 11:04:06 +02:00
|
|
|
test: {
|
|
|
|
db: 'cc-test',
|
2018-04-02 00:32:45 +02:00
|
|
|
port: 3001,
|
2018-03-30 17:26:09 +02:00
|
|
|
dredd: {
|
|
|
|
env: 'dreddTest',
|
2018-03-30 20:21:28 +02:00
|
|
|
resourceLocation: __dirname + '/../apib/dredd/data/tmp-resource',
|
2018-03-30 17:26:09 +02:00
|
|
|
},
|
|
|
|
unit: {
|
|
|
|
env: 'unitTest',
|
2018-03-30 17:57:38 +02:00
|
|
|
},
|
|
|
|
},
|
2017-05-10 11:04:06 +02:00
|
|
|
};
|