Browse Source

Configure Payment Service environment

pull/9/head
enisn 5 years ago
parent
commit
94b4772b29
  1. 6
      services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/Properties/launchSettings.json
  2. 46
      services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/appsettings.json

6
services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44347",
"sslPort": 44347
"applicationUrl": "https://localhost:44357",
"sslPort": 44357
}
},
"profiles": {
@ -18,7 +18,7 @@
"EShopOnAbp.PaymentService.DemoApp": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:44347",
"applicationUrl": "https://localhost:44357",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

46
services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/appsettings.json

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