Files
solution-erp/src/Backend/SolutionErp.Api/appsettings.Production.json.example
pqhuy1987 85acf750b3
Some checks failed
Deploy SOLUTION_ERP / build-backend (push) Failing after 9s
Deploy SOLUTION_ERP / build-fe-admin (push) Has been cancelled
Deploy SOLUTION_ERP / build-fe-user (push) Has been cancelled
Deploy SOLUTION_ERP / deploy-iis (push) Has been cancelled
[CLAUDE] Scripts: update cho SQLEXPRESS instance + Invoke-Sqlcmd (no sqlcmd.exe binary needed)
- setup-sql-db.ps1: Server=.\SQLEXPRESS default, dung Invoke-Sqlcmd (SqlServer PS module) voi credential + TrustServerCertificate
- appsettings.Production.json.example: Server=.\SQLEXPRESS (voi escaped backslash JSON)
- DB_CONNECTION Gitea secret da update (qua API)

VPS Windows Server 2022 minimal, co VIETREPORT da chay 4 site, SQL instance SQLEXPRESS.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 14:10:08 +07:00

55 lines
1.3 KiB
JSON

{
"ConnectionStrings": {
"Default": "Server=.\\SQLEXPRESS;Database=SolutionErp;User Id=vrapp;Password=__SET_VIA_SECRETS__;MultipleActiveResultSets=true;TrustServerCertificate=true;Encrypt=true"
},
"Jwt": {
"Issuer": "SolutionErp.Api",
"Audience": "SolutionErp.Client",
"Secret": "__SET_VIA_USER_SECRETS_OR_ENV__minimum_64_chars_random",
"AccessTokenExpiryMinutes": 60,
"RefreshTokenExpiryDays": 7
},
"AllowedOrigins": [
"https://admin.huypham.vn",
"https://user.huypham.vn"
],
"Identity": {
"Password": {
"RequiredLength": 12
},
"Lockout": {
"Minutes": 15,
"MaxFailedAttempts": 5
}
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.EntityFrameworkCore": "Warning",
"Microsoft.AspNetCore.Hosting.Diagnostics": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{ "Name": "Console" },
{
"Name": "File",
"Args": {
"path": "logs/solution-erp-.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 30,
"fileSizeLimitBytes": 104857600,
"rollOnFileSizeLimit": true
}
}
]
},
"AllowedHosts": "*",
"RateLimit": {
"AuthLoginPerMinute": 5,
"GlobalPerMinute": 300
}
}