mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-04 16:02:11 +00:00
Brings in merged PR #16 and vendor/Phase 1-4 work from origin/dev into the Phase 5 (WeekRolled) head. Only conflict was ApplicationDbContextModelSnapshot.cs (EF model snapshot touched by both sides); resolved by taking dev's latest snapshot (matches migration 20260723220614) and grafting the WorkOrderWeekRolledLedger entity + relationship blocks, matching the Phase5 migration Designer exactly. Migration ordering unchanged: Phase5 (20260709) runs before vendor migrations (20260720-20260723).
38 lines
No EOL
1.4 KiB
JSON
38 lines
No EOL
1.4 KiB
JSON
{
|
|
"ConnectionStrings": {
|
|
//"DefaultConnection": "Server=DESKTOP-64LC14O\SQLEXPRESS;Database=SeahavenIndustries;TrustServerCertificate=True;Trusted_Connection=True;MultipleActiveResultSets=true",
|
|
|
|
|
|
// Provide the real value via environment variable ConnectionStrings__DefaultConnection,
|
|
// user-secrets, or appsettings.Development.json (which is gitignored). Do NOT commit credentials.
|
|
"DefaultConnection": "${CONNECTION_STRING}"
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"SendGrid": {
|
|
// Provide the real value via environment variable SendGrid__ApiKey or user-secrets.
|
|
"ApiKey": "${SENDGRID_API_KEY}"
|
|
},
|
|
// Malware scanner for vendor completion document uploads. While Host is empty the
|
|
// scanner is considered unavailable and uploaded files stay quarantined (download
|
|
// returns 423 Locked until a scan passes). Production must supply a real Host.
|
|
"ClamAV": {
|
|
"Host": "",
|
|
"Port": 3310
|
|
},
|
|
"AllowedHosts": "*",
|
|
"JWT": {
|
|
"ValidAudience": "http://localhost:4200",
|
|
"ValidIssuer": "http://localhost:7195",
|
|
// Provide the real value via environment variable JWT__Secret or user-secrets.
|
|
"Secret": "${JWT_SECRET}"
|
|
},
|
|
"WorkOrderJobs": {
|
|
"WeekRolled": { "Enabled": true, "RunAtUtc": "00:05", "DayOfWeek": "Monday" },
|
|
"PastDueCache": { "Enabled": false, "RunAtUtc": "00:10" }
|
|
}
|
|
} |