mirror of
https://github.com/DIGI-UW/HaitiHealthBox.git
synced 2026-11-14 02:12:04 +00:00
155 lines
3.2 KiB
JSON
155 lines
3.2 KiB
JSON
{
|
|
"bindAddress": "0.0.0.0",
|
|
"mongo": {
|
|
"url": "mongodb://localhost/openhim",
|
|
"atnaUrl": "mongodb://localhost/openhim",
|
|
"connectionOptions": {},
|
|
"openHIMApiReadPreference": "primaryPreferred",
|
|
"openHIMApiWriteConcern": 1,
|
|
"openHIMApiReadConcern": "local"
|
|
},
|
|
"logger": {
|
|
"level": "info",
|
|
"logToDB": true,
|
|
"capDBLogs": true,
|
|
"capSize": 10000000
|
|
},
|
|
"mongoLogger": {
|
|
"options": {
|
|
"w": 0,
|
|
"useNewUrlParser": true
|
|
}
|
|
},
|
|
"router": {
|
|
"externalHostname": "uwdigi.org",
|
|
"httpPort": 5001,
|
|
"httpsPort": 5000,
|
|
"timeout": 60000
|
|
},
|
|
"bodyCull":{
|
|
"enabled":true,
|
|
"pollPeriodMins": 60
|
|
},
|
|
"api": {
|
|
"enabled": true,
|
|
"protocol": "https",
|
|
"port": 8080,
|
|
"authWindowSeconds": 10,
|
|
"maxBodiesSizeMB": 15,
|
|
"maxPayloadSizeMB": 50,
|
|
"truncateSize": 15000,
|
|
"truncateAppend": "\n[truncated ...]",
|
|
"authenticationTypes": ["basic", "token"]
|
|
},
|
|
"rerun": {
|
|
"httpPort": 7786,
|
|
"host": "localhost",
|
|
"processor": {
|
|
"enabled": false,
|
|
"pollPeriodMillis": 2000
|
|
},
|
|
"taskTransactionsLength": 50,
|
|
"activeConcurrentTasks": 3
|
|
},
|
|
"tcpAdapter": {
|
|
"httpReceiver": {
|
|
"httpPort": 7787,
|
|
"host": "localhost"
|
|
}
|
|
},
|
|
"polling": {
|
|
"enabled": false,
|
|
"pollingPort": 7788,
|
|
"host": "localhost"
|
|
},
|
|
"authentication": {
|
|
"enableMutualTLSAuthentication": true,
|
|
"enableBasicAuthentication": true,
|
|
"enableCustomTokenAuthentication": true,
|
|
"enableJWTAuthentication": false,
|
|
"jwt": {
|
|
"secretOrPublicKey": "",
|
|
"algorithms": "",
|
|
"audience": "",
|
|
"issuer": ""
|
|
}
|
|
},
|
|
"email": {
|
|
"fromAddress": "address@example.com",
|
|
"nodemailer": {
|
|
"service": "Gmail",
|
|
"auth": {
|
|
"user": "user@gmail.com",
|
|
"pass": "password"
|
|
}
|
|
}
|
|
},
|
|
"smsGateway": {
|
|
"provider": "clickatell",
|
|
"config": {
|
|
"user": "user",
|
|
"pass": "pass",
|
|
"apiID": "apiID"
|
|
}
|
|
},
|
|
"alerts": {
|
|
"enableAlerts": true,
|
|
"pollPeriodMinutes": 1,
|
|
"himInstance": "Haiti Health Box OpenHIM",
|
|
"consoleURL": "http://localhost:9000"
|
|
},
|
|
"reports": {
|
|
"enableReports": false,
|
|
"dailyReportAt": "0 7 * * *",
|
|
"weeklyReportAt": "0 7 * * 1",
|
|
"utcOffset": null
|
|
},
|
|
"events": {
|
|
"enableTSNormalization": true
|
|
},
|
|
"newUserExpiry": {
|
|
"duration": 7,
|
|
"durationType": "days"
|
|
},
|
|
"userPasswordResetExpiry": {
|
|
"duration": 1,
|
|
"durationType": "hours"
|
|
},
|
|
"auditing": {
|
|
"servers": {
|
|
"udp": {
|
|
"enabled": false,
|
|
"port": 5050
|
|
},
|
|
"tls": {
|
|
"enabled": false,
|
|
"port": 5051
|
|
},
|
|
"tcp": {
|
|
"enabled": false,
|
|
"port": 5052
|
|
}
|
|
},
|
|
"auditEvents": {
|
|
"interface": "internal",
|
|
"host": "localhost",
|
|
"port": 5051,
|
|
"auditSourceID": "OpenHIM"
|
|
}
|
|
},
|
|
"caching": {
|
|
"enabled": true,
|
|
"refreshMillis": 1000
|
|
},
|
|
"tlsClientLookup": {
|
|
"type": "in-chain"
|
|
},
|
|
"agenda": {
|
|
"startupDelay": 500
|
|
},
|
|
"certificateManagement": {
|
|
"watchFSForCert": true,
|
|
"certPath": "/etc/certs/live/default/fullchain.pem",
|
|
"keyPath": "/etc/certs/live/default/privkey.pem"
|
|
}
|
|
} |