8 changed files with 330 additions and 0 deletions
@ -0,0 +1,42 @@ |
|||||
|
{ |
||||
|
"App": { |
||||
|
"SelfUrl": "https://app-authserver", |
||||
|
"CorsOrigins": "http://app-web,https://identity-service,https://administration-service,https://catalog-service,https://basket-service,https://ordering-service,https://payment-service", |
||||
|
"RedirectAllowedUrls": "http://app-web" |
||||
|
}, |
||||
|
"Logging": { |
||||
|
"LogLevel": { |
||||
|
"Default": "Information", |
||||
|
"Microsoft": "Warning", |
||||
|
"Microsoft.Hosting.Lifetime": "Information" |
||||
|
} |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://app-authserver", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"SwaggerClientId": "WebGateway_Swagger", |
||||
|
"SwaggerClientSecret": "1q2w3e*" |
||||
|
}, |
||||
|
"AllowedHosts": "*", |
||||
|
"ConnectionStrings": { |
||||
|
"IdentityService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Identity;Pooling=false;", |
||||
|
"AdministrationService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false;" |
||||
|
}, |
||||
|
"StringEncryption": { |
||||
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
||||
|
}, |
||||
|
"Redis": { |
||||
|
"Configuration": "redis" |
||||
|
}, |
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "rabbitmq" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "EShopOnAbp_AuthServer", |
||||
|
"ExchangeName": "EShopOnAbp" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,60 @@ |
|||||
|
{ |
||||
|
"App": { |
||||
|
"SelfUrl": "https://app-publicweb" |
||||
|
}, |
||||
|
"Logging": { |
||||
|
"LogLevel": { |
||||
|
"Default": "Information", |
||||
|
"Microsoft": "Warning", |
||||
|
"Microsoft.Hosting.Lifetime": "Information" |
||||
|
} |
||||
|
}, |
||||
|
"AllowedHosts": "*", |
||||
|
"RemoteServices": { |
||||
|
"Default": { |
||||
|
"BaseUrl": "http://gateway-web-public" |
||||
|
} |
||||
|
}, |
||||
|
"StringEncryption": { |
||||
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
||||
|
}, |
||||
|
"Redis": { |
||||
|
"Configuration": "redis" |
||||
|
}, |
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "rabbitmq" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "EShopOnAbp_PublicWeb", |
||||
|
"ExchangeName": "EShopOnAbp" |
||||
|
} |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://app-authserver", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"ClientId": "PublicWeb", |
||||
|
"ClientSecret": "1q2w3e*" |
||||
|
}, |
||||
|
"ReverseProxy": { |
||||
|
"Routes": { |
||||
|
"route1" : { |
||||
|
"ClusterId": "cluster1", |
||||
|
"Match": { |
||||
|
"Path": "/api/{**anypath}" |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
"Clusters": { |
||||
|
"cluster1": { |
||||
|
"Destinations": { |
||||
|
"destination1": { |
||||
|
"Address": "http://gateway-web-public" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,51 @@ |
|||||
|
{ |
||||
|
"App": { |
||||
|
"SelfUrl": "https://administration-service", |
||||
|
"CorsOrigins": "https://gateway-web,gateway-web-public" |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://app-authserver", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"SwaggerClientId": "WebGateway_Swagger", |
||||
|
"SwaggerClientSecret": "1q2w3e*" |
||||
|
}, |
||||
|
"RemoteServices": { |
||||
|
"AbpIdentity": { |
||||
|
"BaseUrl": "http://identity-service", |
||||
|
"UseCurrentAccessToken": "false" |
||||
|
} |
||||
|
}, |
||||
|
"IdentityClients": { |
||||
|
"Default": { |
||||
|
"GrantType": "client_credentials", |
||||
|
"ClientId": "EShopOnAbp_AdministrationService", |
||||
|
"ClientSecret": "1q2w3e*", |
||||
|
"Authority": "http://app-authserver", |
||||
|
"Scope": "IdentityService" |
||||
|
} |
||||
|
}, |
||||
|
"Logging": { |
||||
|
"LogLevel": { |
||||
|
"Default": "Information", |
||||
|
"Microsoft": "Warning", |
||||
|
"Microsoft.Hosting.Lifetime": "Information" |
||||
|
} |
||||
|
}, |
||||
|
"ConnectionStrings": { |
||||
|
"AdministrationService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false;" |
||||
|
}, |
||||
|
"Redis": { |
||||
|
"Configuration": "redis" |
||||
|
}, |
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "rabbitmq" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "EShopOnAbp_AdministrationService", |
||||
|
"ExchangeName": "EShopOnAbp" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,35 @@ |
|||||
|
{ |
||||
|
"App": { |
||||
|
"SelfUrl": "https://basket-service", |
||||
|
"CorsOrigins": "https://gateway-web,gateway-web-public" |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://app-authserver", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"SwaggerClientId": "WebGateway_Swagger", |
||||
|
"SwaggerClientSecret": "1q2w3e*" |
||||
|
}, |
||||
|
"RemoteServices": { |
||||
|
"Catalog": { |
||||
|
"BaseUrl": "https://catalog-service", |
||||
|
"GrpcUrl": "http://catalog-service" |
||||
|
} |
||||
|
}, |
||||
|
"ConnectionStrings": { |
||||
|
"AdministrationService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false;" |
||||
|
}, |
||||
|
"Redis": { |
||||
|
"Configuration": "redis" |
||||
|
}, |
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "rabbitmq" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "EShopOnAbp_BasketService", |
||||
|
"ExchangeName": "EShopOnAbp" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,46 @@ |
|||||
|
{ |
||||
|
"App": { |
||||
|
"SelfUrl": "https://catalog-service", |
||||
|
"CorsOrigins": "https://gateway-web,gateway-web-public" |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://app-authserver", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"SwaggerClientId": "WebGateway_Swagger", |
||||
|
"SwaggerClientSecret": "1q2w3e*" |
||||
|
}, |
||||
|
"ConnectionStrings": { |
||||
|
"CatalogService": "mongodb://mongodb/EShopOnAbp_Catalog", |
||||
|
"AdministrationService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false;" |
||||
|
}, |
||||
|
"Redis": { |
||||
|
"Configuration": "redis" |
||||
|
}, |
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "rabbitmq" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "EShopOnAbp_CatalogService", |
||||
|
"ExchangeName": "EShopOnAbp" |
||||
|
} |
||||
|
}, |
||||
|
"Kestrel": { |
||||
|
"Endpoints": { |
||||
|
"Http": { |
||||
|
"Url": "http://localhost:5000", |
||||
|
"Protocols": "Http1AndHttp2" |
||||
|
}, |
||||
|
"Https": { |
||||
|
"Url": "https://localhost:44354", |
||||
|
"Protocols": "Http1AndHttp2" |
||||
|
}, |
||||
|
"gRPC": { |
||||
|
"Url": "http://localhost:81", |
||||
|
"Protocols": "Http2" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,65 @@ |
|||||
|
{ |
||||
|
"App": { |
||||
|
"SelfUrl": "https://identity-service", |
||||
|
"CorsOrigins": "https://gateway-web,gateway-web-public" |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://app-authserver", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"SwaggerClientId": "WebGateway_Swagger", |
||||
|
"SwaggerClientSecret": "1q2w3e*" |
||||
|
}, |
||||
|
"ConnectionStrings": { |
||||
|
"IdentityService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Identity;Pooling=false;", |
||||
|
"AdministrationService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false;" |
||||
|
}, |
||||
|
"Redis": { |
||||
|
"Configuration": "redis" |
||||
|
}, |
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "rabbitmq" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "EShopOnAbp_IdentityService", |
||||
|
"ExchangeName": "EShopOnAbp" |
||||
|
} |
||||
|
}, |
||||
|
"IdentityServerClients": { |
||||
|
"Web": { |
||||
|
"RootUrl": "http://localhost:4200" |
||||
|
}, |
||||
|
"PublicWeb": { |
||||
|
"RootUrl": "https://localhost:44335/" |
||||
|
}, |
||||
|
"WebGateway": { |
||||
|
"RootUrl": "https://localhost:44372" |
||||
|
}, |
||||
|
"PublicWebGateway": { |
||||
|
"RootUrl": "https://localhost:44373" |
||||
|
}, |
||||
|
"AccountService": { |
||||
|
"RootUrl": "https://localhost:44330" |
||||
|
}, |
||||
|
"IdentityService": { |
||||
|
"RootUrl": "https://localhost:44351" |
||||
|
}, |
||||
|
"AdministrationService": { |
||||
|
"RootUrl": "https://localhost:44353" |
||||
|
}, |
||||
|
"CatalogService": { |
||||
|
"RootUrl": "https://localhost:44354" |
||||
|
}, |
||||
|
"BasketService": { |
||||
|
"RootUrl": "https://localhost:44355" |
||||
|
}, |
||||
|
"OrderingService": { |
||||
|
"RootUrl": "https://localhost:44356" |
||||
|
}, |
||||
|
"PaymentService": { |
||||
|
"RootUrl": "https://localhost:44357" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,30 @@ |
|||||
|
{ |
||||
|
"App": { |
||||
|
"SelfUrl": "https://ordering-service", |
||||
|
"CorsOrigins": "https://gateway-web,gateway-web-public" |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://app-authserver", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"SwaggerClientId": "WebGateway_Swagger", |
||||
|
"SwaggerClientSecret": "1q2w3e*" |
||||
|
}, |
||||
|
"ConnectionStrings": { |
||||
|
"OrderingService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Ordering;Pooling=false", |
||||
|
"AdministrationService": "User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false;" |
||||
|
}, |
||||
|
"Redis": { |
||||
|
"Configuration": "redis" |
||||
|
}, |
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "rabbitmq" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "EShopOnAbp_OrderingService", |
||||
|
"ExchangeName": "EShopOnAbp" |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue