-
Notifications
You must be signed in to change notification settings - Fork 0
/
appsettings.json
73 lines (73 loc) · 2.15 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
{
"LoggerOptions": {
"level": "Information",
"LogTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff} {Level} - {Message:lj}{NewLine}{Exception}",
"DevelopmentLogPath": "../logs/customers-service.log",
"ProductionLogPath": "../logs/customers-service.log"
},
"AppOptions": {
"Name": "Customers Api",
"Description": "Customers Api",
"ApiAddress": "http://localhost:8000"
},
"MongoOptions": {
"ConnectionString": "mongodb://admin:admin@localhost:27017",
"DatabaseName": "einventory-services-customers"
},
"PostgresOptions": {
"ConnectionString": "Server=localhost;Port=5432;Database=EInventory.Services.Customers;User Id=postgres;Password=postgres;Include Error Detail=true",
"UseInMemory": false
},
"JwtOptions": {
"SecretKey": "NeedsToGetValidKey",
"Audience": "shop-api",
"Issuer": "shop-identity",
"TokenLifeTimeSecond": 3600
},
"RabbitMqOptions": {
"Host": "localhost",
"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": "EInventory Application Mail",
"MimeKitOptions": {
"Host": "smtp.emailserver.email",
"Port": 587,
"UserName": "[email protected]",
"Password": "NeedsToGetValidKey"
}
},
"OpenTelemetryOptions": {
"Services": [
"Customers-Service"
],
"ZipkinExporterOptions": {
"Endpoint": "http://localhost:9411/api/v2/spans"
},
"JaegerExporterOptions": {
"AgentHost": "localhost",
"AgentPort": "6831"
}
},
"MessagePersistenceOptions": {
"Interval": 30,
"ConnectionString": "Server=localhost;Port=5432;Database=EInventory.Services.Customers;User Id=postgres;Password=postgres;Include Error Detail=true",
"Enabled": true
}
}