This commit is contained in:
64
OCPP.Core.Server/bin/Debug/net8.0/appsettings.json
Normal file
64
OCPP.Core.Server/bin/Debug/net8.0/appsettings.json
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"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.Server-<counter>.log",
|
||||
"CounterFormat": "00"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"LogLevel": {
|
||||
"Default": "Information"
|
||||
},
|
||||
|
||||
"ConnectionStrings": {
|
||||
//"SQLite": "Filename=.\\..\\SQLite\\OCPP.Core.sqlite;"
|
||||
//"SqlServer": "Server=202.129.205.201,31455;Database=master;User Id=sa;Password=sql-pass;Trusted_Connection=True;Encrypt=false;TrustServerCertificate=false",
|
||||
"SqlServer": "Data Source=202.129.205.201,31455;Initial Catalog=OCPP.Core;User ID=dev;Password=password@1;TrustServerCertificate=true;"
|
||||
},
|
||||
|
||||
"MessageDumpDir": "c:\\temp\\OCPP",
|
||||
"DbMessageLog": 2, // 0=None, 1=Info, 2=Verbose (all)
|
||||
"ShowIndexInfo": true, // show status info in root web
|
||||
"MaxMessageSize": 1048576, // max. allowed message size in bytes
|
||||
"ValidateMessages": true, // validate incoming messages against schema
|
||||
"DenyConcurrentTx": false, // deny concurrent transactions with same charge-tag
|
||||
"HeartBeatInterval": 300, // in seconds (=> interval is send to chargers)
|
||||
"AutoMigrateDB": true, // Use EF migration of database schema changes (Attention: needs admin permission in SQL-Server DB)
|
||||
|
||||
|
||||
"ApiKey": "36029A5F-B736-4DA9-AE46-D66847C9062C",
|
||||
|
||||
"AllowedHosts": "*",
|
||||
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://localhost:8081"
|
||||
},
|
||||
"HttpsInlineCertFile": {
|
||||
"Url": "https://localhost:8091",
|
||||
"Certificate": {
|
||||
"Path": "localhost.pfx",
|
||||
"Password": "OCPP.Core"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user