-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.ts
51 lines (50 loc) · 859 Bytes
/
config.ts
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
export const config = {
port: 8088,
sub_port: 8089,
log: {
level: 'info',
map: {
time: '@timestamp',
msg: 'message'
}
},
mongo: {
uri: 'mongodb://root:12345678@localhost:27017/?authSource=admin&readPreference=primary&appname=MongoDB%20Compass&directConnection=true&ssl=false',
db: 'masterdata'
},
retries: {
1: 10000,
2: 15000,
3: 25000,
},
ibmmq: {
interval: 10000,
service: 'ibmmq',
connection: 'ibm_mq(1414)',
mgr: 'QM1',
queue: 'DEV.QUEUE.1',
channel: 'DEV.APP.SVRCONN',
user: 'app',
password: 'passw0rd',
topic: 'dev/'
},
retry: {
name: 'retry',
limit: 3
}
};
export const env = {
sit: {
log: {
level: 'error'
},
mongo: {
database: 'masterdata_sit',
}
},
prd: {
log: {
level: 'error'
}
}
};