53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
// Jwt:Key is a SECRET (min 32 chars): set it via env var Jwt__Key, user-secrets or appsettings.Local.json.
|
|
// The app refuses to start outside Development when it is missing.
|
|
"Jwt": {
|
|
"Key": "",
|
|
"Issuer": "NTP",
|
|
"Audience": "NTP.Web",
|
|
"ExpiryMinutes": 480,
|
|
"ActiveCheckCacheSeconds": 10
|
|
},
|
|
|
|
// Application.cfc: role SU is only allowed for these logins. Empty here on purpose: Development and QA list their own logins
|
|
// (appsettings.Development.json / appsettings.QA.json); production sets Auth__SuperUsers__0... in its environment.
|
|
"Auth": {
|
|
"SuperUsers": []
|
|
},
|
|
|
|
"Cors": {
|
|
"AllowedOrigins": [ "http://localhost:5173" ]
|
|
},
|
|
|
|
// Primary connection = NAFITHTCS schema; NtpSchema = NTP schema (both required). Real values go in appsettings.Local.json / env vars
|
|
// (ConnectionStrings__NAFITHTCS, ConnectionStrings__NtpSchema). Option A - full connection strings (take priority):
|
|
"ConnectionStrings": {
|
|
"NAFITHTCS": "",
|
|
"NtpSchema": ""
|
|
},
|
|
|
|
// Option B - individual settings (used for the PRIMARY connection when ConnectionStrings:NAFITHTCS is empty).
|
|
// Put real passwords in appsettings.Local.json or environment variables, not in this file.
|
|
"Oracle": {
|
|
"Host": "",
|
|
"Port": 1521,
|
|
"ServiceName": "",
|
|
"Sid": "",
|
|
"UserId": "",
|
|
"Password": "",
|
|
"MinPoolSize": 1,
|
|
"MaxPoolSize": 50,
|
|
"ConnectionTimeoutSeconds": 15,
|
|
"StatementCacheSize": 50,
|
|
"CommandTimeoutSeconds": 30
|
|
}
|
|
}
|