Initial commit

This commit is contained in:
2026-11-16 18:25:21 +08:00
commit c7264cc50d
229 changed files with 33543 additions and 0 deletions
@@ -0,0 +1,28 @@
{
"Urls": "http://*:5118",
"AllowedHosts": "*",
"Database": {
"Provider": "PostgreSql"
},
"ConnectionStrings": {
"Default": "Host=127.0.0.1;Port=5432;Database=leiren_erp;Username=leiren_erp;Password=CHANGE_ME_VIA_ENVIRONMENT"
},
"HealthChecks": {
"DatabaseTimeout": "00:00:05"
},
"FileStorage": {
"RootPath": "D:\\LeirenErpData\\storage",
"MaxFileSizeBytes": 52428800,
"AllowedExtensions": [
".pdf", ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx",
".png", ".jpg", ".jpeg", ".gif", ".webp", ".bmp",
".txt", ".csv", ".zip", ".rar", ".7z"
]
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"Sources": [
{
"Name": "FileStorage",
"Path": "D:\\LeirenErpData\\storage"
},
{
"Name": "Templates",
"Path": "D:\\LeirenErpData\\templates"
}
],
"DestinationPath": "E:\\LeirenErpBackups",
"IncludeDatabase": true,
"DatabaseProvider": "PostgreSql",
"DatabaseConnectionString": "",
"PgDumpPath": "C:\\Program Files\\PostgreSQL\\17\\bin\\pg_dump.exe",
"AllowEmpty": false
}