created new config lib
This commit is contained in:
parent
bc14acaeba
commit
68a4c2d550
36 changed files with 2681 additions and 134 deletions
42
libs/config-new/config/test.json
Normal file
42
libs/config-new/config/test.json
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"debug": true,
|
||||
"logging": {
|
||||
"level": "error",
|
||||
"format": "json"
|
||||
},
|
||||
"service": {
|
||||
"port": 0,
|
||||
"shutdownTimeout": 5000
|
||||
},
|
||||
"database": {
|
||||
"postgres": {
|
||||
"database": "stockbot_test",
|
||||
"poolSize": 5
|
||||
},
|
||||
"questdb": {
|
||||
"database": "questdb_test"
|
||||
},
|
||||
"mongodb": {
|
||||
"database": "stockbot_test",
|
||||
"poolSize": 5
|
||||
},
|
||||
"dragonfly": {
|
||||
"db": 15,
|
||||
"keyPrefix": "test:"
|
||||
}
|
||||
},
|
||||
"queue": {
|
||||
"redis": {
|
||||
"db": 15
|
||||
},
|
||||
"defaultJobOptions": {
|
||||
"attempts": 1,
|
||||
"removeOnComplete": false,
|
||||
"removeOnFail": false
|
||||
}
|
||||
},
|
||||
"http": {
|
||||
"timeout": 5000,
|
||||
"retries": 1
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue