70 lines
1.6 KiB
JSON
70 lines
1.6 KiB
JSON
{
|
|
"Logging": {
|
|
"File": {
|
|
"BasePath": "Logs",
|
|
"FileAccessMode": "KeepOpenAndAutoFlush",
|
|
"FileEncodingName": "utf-8",
|
|
"DateFormat": "yyyyMMdd",
|
|
"CounterFormat": "000",
|
|
"MaxFileSize": 1048576,
|
|
"LogLevel": {
|
|
"OCPP": "Trace",
|
|
"Microsoft": "Warning",
|
|
"Default": "Debug"
|
|
},
|
|
"IncludeScopes": false,
|
|
"MaxQueueSize": 10,
|
|
"Files": [
|
|
{
|
|
"Path": "OCPP.Core.Management-<counter>.log",
|
|
"CounterFormat": "00"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
|
|
"LogLevel": {
|
|
"Default": "Information"
|
|
},
|
|
|
|
"AllowedHosts": "*",
|
|
|
|
"ConnectionStrings": {
|
|
//"SQLite": "Filename=.\\..\\SQLite\\OCPP.Core.sqlite;"
|
|
//"SqlServer": "Server=.;Database=OCPP.Core;Trusted_Connection=True;Encrypt=false;TrustServerCertificate=false",
|
|
"SqlServer": "Data Source=202.129.205.201,31455;Initial Catalog=OCPP.Core;User ID=sa;Password=sql-pass;TrustServerCertificate=true;"
|
|
},
|
|
|
|
//"ServerApiUrl": "http://localhost:8081/API",
|
|
"ServerApiUrl": "https://ocpp-server.71dev.com/API",
|
|
"ApiKey": "36029A5F-B736-4DA9-AE46-D66847C9062C",
|
|
|
|
"Users": [
|
|
{
|
|
"Username": "admin",
|
|
"Password": "t3st",
|
|
"Administrator": true
|
|
},
|
|
{
|
|
"Username": "user",
|
|
"Password": "t3st",
|
|
"Administrator": false
|
|
}
|
|
],
|
|
|
|
"Kestrel": {
|
|
"Endpoints": {
|
|
"Http": {
|
|
"Url": "http://0.0.0.0:8080"
|
|
},
|
|
"HttpsInlineCertFile": {
|
|
"Url": "https://localhost:8092",
|
|
"Certificate": {
|
|
"Path": "localhost.pfx",
|
|
"Password": "OCPP.Core"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|