-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathappsettings.json
55 lines (55 loc) · 1.56 KB
/
appsettings.json
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"AllowedHosts": "*",
"Serilog": {
"Using": [
"Serilog.Sinks.File"
],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.AspNetCore.Authentication": "Information",
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "File",
"Args": {
"path": "Logs/webapi-.log",
"formatter": "Serilog.Formatting.Compact.CompactJsonFormatter, Serilog.Formatting.Compact",
"rollingInterval": "Month"
}
}
],
"Enrich": [
"FromLogContext",
"WithThreadId",
"WithExceptionDetails"
]
},
"ConnectionStrings": {
"MasterDatabase": "Host=localhost; Port=5432; Database=master_logistics; Username=postgres; Password=Test12345#",
"DefaultTenantDatabase": "Host=localhost; Port=5432; Database=default_logistics; Username=postgres; Password=Test12345#"
},
"TenantsDatabaseConfig": {
"DatabaseNameTemplate": "{tenant}_logistics",
"DatabaseHost": "localhost",
"DatabaseUserId": "postgres",
"DatabasePassword": "Test12345#"
},
"IdentityServer": {
"Authority": "https://localhost:7001",
"Audience": "logistics.api"
},
"SmtpConfig": {
"SenderEmail": "<Email address>",
"SenderName": "Logistics NoReply",
"UserName": "<Email account username>",
"Password": "<Email account password>",
"Host": "<Server address>",
"Port": 587
}
}