opt-cc/api/config/config.js

31 lines
456 B
JavaScript
Raw Normal View History

2017-05-10 11:04:06 +02:00
module.exports = {
port: 8091,
resourceLocation: __dirname + '/../resource',
2017-05-10 11:04:06 +02:00
database: {
uri: 'mongodb://localhost:27017/',
db: 'cc',
},
prod: {
2018-03-12 09:26:44 +01:00
env: 'production',
},
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-03-30 17:26:09 +02:00
dredd: {
env: 'dreddTest',
2018-03-30 17:57:38 +02:00
port: 3001,
resourceLocation: __dirname + '/../apib/dredd/data/tmp-resource',
2018-03-30 17:26:09 +02:00
},
unit: {
env: 'unitTest',
port: 3002,
2018-03-30 17:57:38 +02:00
},
},
2017-05-10 11:04:06 +02:00
};