File size: 856 Bytes
de8b914
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  "ConnectionStrings": {
    "Postgres": "Host=localhost;Port=5432;Database=scm;Username=scm;Password=changeme;"
  },
  "Jwt": {
    "Issuer": "scm-api",
    "Audience": "scm-clients",
    "SecretKey": "TROCAR_em_producao_use_user-secrets_ou_variavel_de_ambiente_min_32_chars",
    "ExpirationMinutes": 60
  },
  "Migrations": {
    "RunOnStartup": false
  },
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft.AspNetCore": "Warning",
        "Microsoft.Hosting.Lifetime": "Information"
      }
    },
    "WriteTo": [
      { "Name": "Console" },
      {
        "Name": "File",
        "Args": {
          "path": "logs/scm-.log",
          "rollingInterval": "Day",
          "retainedFileCountLimit": 14
        }
      }
    ],
    "Enrich": [ "FromLogContext" ]
  },
  "AllowedHosts": "*"
}