Browse Source

added Docker environment files

skoc10/publish-charts-artifacthub
Galip Tolga Erdem 5 years ago
parent
commit
d1a363d274
  1. 100
      gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Docker.json
  2. 46
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.Docker.json

100
gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.Docker.json

@ -0,0 +1,100 @@
{
"ReverseProxy": {
"Routes": {
"Account Service": {
"ClusterId": "accountCluster",
"Match": {
"Path": "/api/account/{**everything}"
}
},
"Administration Service": {
"ClusterId": "administrationCluster",
"Match": {
"Path": "/api/abp/{**everything}"
}
},
"Catalog Service": {
"ClusterId": "catalogCluster",
"Match": {
"Path": "/api/catalog/{**everything}"
}
},
"Basket Service": {
"ClusterId": "basketCluster",
"Match": {
"Path": "/api/basket/{**everything}"
}
},
"Ordering Service": {
"ClusterId": "orderingCluster",
"Match": {
"Path": "/api/ordering/{**everything}"
}
},
"Payment Service": {
"ClusterId": "paymentCluster",
"Match": {
"Path": "/api/payment/{**everything}"
}
},
"product-picture-route": {
"ClusterId": "productPictureCluster",
"Match": {
"Path": "/product-images/{**everything}",
"Methods" : [ "GET" ]
}
}
},
"Clusters": {
"accountCluster": {
"Destinations": {
"destination1": {
"Address": "http://app-authserver"
}
}
},
"administrationCluster": {
"Destinations": {
"destination1": {
"Address": "http://administration-service"
}
}
},
"catalogCluster": {
"Destinations": {
"destination1": {
"Address": "http://catalog-service"
}
}
},
"basketCluster": {
"Destinations": {
"destination1": {
"Address": "http://basket-service"
}
}
},
"orderingCluster": {
"Destinations": {
"destination1": {
"Address": "http://ordering-service"
}
}
},
"paymentCluster": {
"Destinations": {
"destination1": {
"Address": "http://payment-service"
}
}
},
"productPictureCluster": {
"Destinations": {
"destination1": {
"Address": "http://catalog-service"
}
}
}
}
}
}

46
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.Docker.json

@ -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://docker.host.internal:80",
"Protocols": "Http1AndHttp2"
},
"Https": {
"Url": "https://docker.host.internal:443",
"Protocols": "Http1AndHttp2"
},
"gRPC": {
"Url": "http://docker.host.internal:81",
"Protocols": "Http2"
}
}
}
}
Loading…
Cancel
Save