-
Notifications
You must be signed in to change notification settings - Fork 0
/
.conforkrc.js
33 lines (32 loc) · 1.12 KB
/
.conforkrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const otherDbOptions = require('./config/otherDbOptions').default;
module.exports = {
env: process.env.NODE_ENV || 'development',
interface: 'express',
disableSwagger: false,
http: {
host: process.env.HTTP_HOST || 'localhost',
port: process.env.HTTP_PORT || 7000,
basePath: process.env.HTTP_BASE_PATH
},
db: {
dialect: process.env.DB_DIALECT,
host: process.env.DB_HOST,
port: process.env.DB_PORT,
database: process.env.DB_NAME,
username: process.env.DB_USER,
password: process.env.DB_PASS,
otherDbOptions
},
useTypeorm: true,
useAqsTypeorm: true,
locale: process.env.LOCALE || 'en',
paths: {
customRouter: 'src/interface/express/customRouter',
actionInputHandlers: 'src/interface/utils/handlers/actionInputHandlers',
responseHandlers: 'src/interface/utils/handlers/responseHandlers',
registerHandlers: 'src/interface/express/middlewares/registerHandlers',
edgeResponseHandlers: 'src/interface/express/edgeResponseHandlers',
actionFalseConditionHandlers: 'src/interface/express/falseConditionHandlers',
errorHandlers: 'src/interface/express/middlewares/errorHandlers'
}
};