-
Notifications
You must be signed in to change notification settings - Fork 152
/
appsettings.json
89 lines (89 loc) · 2.5 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"Serilog": {
"ElasticSearchUrl": "http://localhost:9200",
"SeqUrl": "http://localhost:5341",
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.AspNetCore": "Warning",
"System": "Warning",
"MassTransit": "Debug",
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
"Microsoft.EntityFrameworkCore": "Warning"
}
}
},
"AppOptions": {
"Name": "Customers Api",
"Description": "Customers Api",
"ApiAddress": "http://localhost:8000"
},
"MongoOptions": {
"ConnectionString": "mongodb://admin:admin@localhost:27017",
"DatabaseName": "food-delivery-services-customers"
},
"PostgresOptions": {
"ConnectionString": "Server=localhost;Port=5432;Database=food_delivery_services_customers;User Id=postgres;Password=postgres;Include Error Detail=true",
"UseInMemory": false
},
"JwtOptions": {
"SecretKey": "50d14aWf9FrMwc7SOLoz",
"Audience": "food-delivery-api",
"Issuer": "food-delivery-identity",
"TokenLifeTimeSecond": 300,
"CheckRevokedAccessTokens": true
},
"RabbitMqOptions": {
"Host": "localhost",
"Port": 5672,
"UserName": "guest",
"Password": "guest"
},
"IdentityApiClientOptions": {
"BaseApiAddress": "http://localhost:7000",
"UsersEndpoint": "api/v1/identity/users"
},
"CatalogsApiClientOptions": {
"BaseApiAddress": "http://localhost:4000",
"ProductsEndpoint": "api/v1/catalogs/products"
},
"PolicyOptions": {
"RetryCount": 3,
"BreakDuration": 30,
"TimeOutDuration": 15
},
"EmailOptions": {
"From": "[email protected]",
"Enable": true,
"DisplayName": "Food Delivery Application Mail",
"MimeKitOptions": {
"Host": "smtp.ethereal.email",
"Port": 587,
"UserName": "",
"Password": ""
}
},
"OpenTelemetryOptions": {
"ZipkinExporterOptions": {
"Endpoint": "http://localhost:9411/api/v2/spans"
},
"JaegerExporterOptions": {
"AgentHost": "localhost",
"AgentPort": 6831
}
},
"MessagePersistenceOptions": {
"Interval": 30,
"ConnectionString": "Server=localhost;Port=5432;Database=food_delivery_services_customers;User Id=postgres;Password=postgres;Include Error Detail=true",
"Enabled": true
},
"CacheOptions": {
"ExpirationTime": 360
},
"HealthOptions": {
"Enabled": false
},
"ConfigurationFolder": "config-files/"
}