Browse Source

Configure CatalogService appsettings

pull/9/head
enisn 5 years ago
parent
commit
4e808d1382
  1. 43
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.json

43
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.json

@ -1,19 +1,44 @@
{ {
"App": { "App": {
"SelfUrl": "https://localhost:44312", "SelfUrl": "https://localhost:44354",
"CorsOrigins": "https://*.CatalogService.com", "CorsOrigins": "https://localhost:44371,https://localhost:44372,https://localhost:44373"
"RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307"
},
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=CatalogService;Trusted_Connection=True"
}, },
"AuthServer": { "AuthServer": {
"Authority": "https://localhost:44312", "Authority": "https://localhost:44330",
"RequireHttpsMetadata": "false", "RequireHttpsMetadata": "true",
"SwaggerClientId": "CatalogService_Swagger", "SwaggerClientId": "IdentityService_Swagger",
"SwaggerClientSecret": "1q2w3e*" "SwaggerClientSecret": "1q2w3e*"
}, },
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"CatalogService": "Server=localhost,1434;Database=EShopOnAbp_Catalog;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true",
"AdministrationService": "Server=localhost,1434;Database=EShopOnAbp_Administration;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true"
},
"StringEncryption": { "StringEncryption": {
"DefaultPassPhrase": "cca88WgRXnVk07rx" "DefaultPassPhrase": "cca88WgRXnVk07rx"
},
"Redis": {
"Configuration": "localhost:6379"
},
"RabbitMQ": {
"Connections": {
"Default": {
"HostName": "localhost"
}
},
"EventBus": {
"ClientName": "EShopOnAbp_CatalogService",
"ExchangeName": "EShopOnAbp"
}
},
"ElasticSearch": {
"Url": "http://localhost:9200"
} }
} }
Loading…
Cancel
Save