opt-cc/server/config/config.js

30 lines
436 B
JavaScript

module.exports = {
port: 8091,
resourceLocation: __dirname + '/../resource',
database: {
uri: 'mongodb://localhost:27017/',
db: 'cc',
},
prod: {
env: 'production',
},
dev: {
env: 'dev',
},
test: {
db: 'cc-test',
port: 3001,
dredd: {
env: 'dreddTest',
resourceLocation: __dirname + '/../apib/dredd/data/tmp-resource',
},
unit: {
env: 'unitTest',
},
},
};