Initial Commit
This commit is contained in:
37
config/default.json
Normal file
37
config/default.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"app": {
|
||||
"name": "SVC-HCM-CRAWLER",
|
||||
"description": "Hikvision Device Crawling Service",
|
||||
"version": "1.0.0",
|
||||
"env": "Development"
|
||||
},
|
||||
"crawler": {
|
||||
"interval": "*/1 * * * *",
|
||||
"maxResults": 10,
|
||||
"timeout": 10000
|
||||
},
|
||||
"database": {
|
||||
"hcm": {
|
||||
"engine": "mysql",
|
||||
"host": "127.0.0.1",
|
||||
"port": "3306",
|
||||
"username": "root",
|
||||
"password": "r00t@dm1n05",
|
||||
"database": "tt_hcm",
|
||||
"logging": false,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"bridge": {
|
||||
"host": "127.0.0.1",
|
||||
"port": "3000",
|
||||
"endpoint": "/api/dooraccess/logs",
|
||||
"timeout": 30000
|
||||
},
|
||||
"hikvision": {
|
||||
"defaultUsername": "admin",
|
||||
"defaultPassword": "Passwordhik_1",
|
||||
"defaultPort": 80
|
||||
}
|
||||
}
|
||||
|
||||
37
config/prod.json
Normal file
37
config/prod.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"app": {
|
||||
"name": "SVC-HCM-CRAWLER",
|
||||
"description": "Hikvision Device Crawling Service",
|
||||
"version": "1.0.0",
|
||||
"env": "Production"
|
||||
},
|
||||
"crawler": {
|
||||
"interval": "*/1 * * * *",
|
||||
"maxResults": 10,
|
||||
"timeout": 10000
|
||||
},
|
||||
"database": {
|
||||
"hcm": {
|
||||
"engine": "mysql",
|
||||
"host": "127.0.0.1",
|
||||
"port": "3306",
|
||||
"username": "apphcm",
|
||||
"password": "$ppHCMTT#2024",
|
||||
"database": "dbhcm",
|
||||
"logging": false,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"bridge": {
|
||||
"host": "127.0.0.1",
|
||||
"port": "3000",
|
||||
"endpoint": "/api/dooraccess/logs",
|
||||
"timeout": 30000
|
||||
},
|
||||
"hikvision": {
|
||||
"defaultUsername": "admin",
|
||||
"defaultPassword": "Passwordhik_1",
|
||||
"defaultPort": 80
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user