diff --git a/src/docker-compose.override.yml b/src/docker-compose.override.yml index 421231107..89b3e9925 100644 --- a/src/docker-compose.override.yml +++ b/src/docker-compose.override.yml @@ -160,155 +160,156 @@ services: ports: - "5108:80" - webhooks-api: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=http://0.0.0.0:80 - - ConnectionString=${ESHOP_AZURE_WEBHOOKS_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word;Encrypt=False} - - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} - - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME} - - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD} - - IdentityUrl=http://identity-api - - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - ports: - - "5113:80" - - mobileshoppingapigw: - volumes: - - ./ApiGateways/Envoy/config/mobileshopping:/etc/envoy - ports: - - "5200:80" - - "15200:8001" - - webshoppingapigw: - volumes: - - ./ApiGateways/Envoy/config/webshopping:/etc/envoy - ports: - - "5202:80" - - "15202:8001" - - mobileshoppingagg: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - urls__basket=http://basket-api - - urls__catalog=http://catalog-api - - urls__orders=http://ordering-api - - urls__identity=http://identity-api - - urls__grpcBasket=http://basket-api:81 - - urls__grpcCatalog=http://catalog-api:81 - - urls__grpcOrdering=http://ordering-api:81 - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc - - BasketUrlHC=http://basket-api/hc - - PaymentUrlHC=http://payment-api/hc - - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - ports: - - "5120:80" - - webshoppingagg: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - urls__basket=http://basket-api - - urls__catalog=http://catalog-api - - urls__orders=http://ordering-api - - urls__identity=http://identity-api - - urls__grpcBasket=http://basket-api:81 - - urls__grpcCatalog=http://catalog-api:81 - - urls__grpcOrdering=http://ordering-api:81 - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc - - BasketUrlHC=http://basket-api/hc - - PaymentUrlHC=http://payment-api/hc - - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - ports: - - "5121:80" - - ordering-signalrhub: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=http://0.0.0.0:80 - - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} - - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME} - - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD} - - AzureServiceBusEnabled=False - - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - - OrchestratorType=${ORCHESTRATOR_TYPE} - - identityUrl=http://identity-api - ports: - - "5112:80" - - webstatus: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=http://0.0.0.0:80 - - HealthChecksUI__HealthChecks__0__Name=WebMVC HTTP Check - - HealthChecksUI__HealthChecks__0__Uri=http://webmvc/hc - - HealthChecksUI__HealthChecks__1__Name=WebSPA HTTP Check - - HealthChecksUI__HealthChecks__1__Uri=http://webspa/hc - - HealthChecksUI__HealthChecks__2__Name=Web Shopping Aggregator GW HTTP Check - - HealthChecksUI__HealthChecks__2__Uri=http://webshoppingagg/hc - - HealthChecksUI__HealthChecks__3__Name=Mobile Shopping Aggregator HTTP Check - - HealthChecksUI__HealthChecks__3__Uri=http://mobileshoppingagg/hc - - HealthChecksUI__HealthChecks__4__Name=Ordering HTTP Check - - HealthChecksUI__HealthChecks__4__Uri=http://ordering-api/hc - - HealthChecksUI__HealthChecks__5__Name=Basket HTTP Check - - HealthChecksUI__HealthChecks__5__Uri=http://basket-api/hc - - HealthChecksUI__HealthChecks__6__Name=Catalog HTTP Check - - HealthChecksUI__HealthChecks__6__Uri=http://catalog-api/hc - - HealthChecksUI__HealthChecks__7__Name=Identity HTTP Check - - HealthChecksUI__HealthChecks__7__Uri=http://identity-api/hc - - HealthChecksUI__HealthChecks__8__Name=Payments HTTP Check - - HealthChecksUI__HealthChecks__8__Uri=http://payment-api/hc - - HealthChecksUI__HealthChecks__9__Name=Ordering SignalRHub HTTP Check - - HealthChecksUI__HealthChecks__9__Uri=http://ordering-signalrhub/hc - - HealthChecksUI__HealthChecks__10__Name=Ordering HTTP Background Check - - HealthChecksUI__HealthChecks__10__Uri=http://ordering-backgroundtasks/hc - - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - - OrchestratorType=${ORCHESTRATOR_TYPE} - ports: - - "5107:80" +# webhooks-api: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - ConnectionString=${ESHOP_AZURE_WEBHOOKS_DB:-Server=sqldata;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word;Encrypt=False} +# - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} +# - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME} +# - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD} +# - IdentityUrl=http://identity-api +# - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 +# ports: +# - "5113:80" +# +# mobileshoppingapigw: +# volumes: +# - ./ApiGateways/Envoy/config/mobileshopping:/etc/envoy +# ports: +# - "5200:80" +# - "15200:8001" +# +# webshoppingapigw: +# volumes: +# - ./ApiGateways/Envoy/config/webshopping:/etc/envoy +# ports: +# - "5202:80" +# - "15202:8001" +# +# mobileshoppingagg: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - urls__basket=http://basket-api +# - urls__catalog=http://catalog-api +# - urls__orders=http://ordering-api +# - urls__identity=http://identity-api +# - urls__grpcBasket=http://basket-api:81 +# - urls__grpcCatalog=http://catalog-api:81 +# - urls__grpcOrdering=http://ordering-api:81 +# - CatalogUrlHC=http://catalog-api/hc +# - OrderingUrlHC=http://ordering-api/hc +# - IdentityUrlHC=http://identity-api/hc +# - BasketUrlHC=http://basket-api/hc +# - PaymentUrlHC=http://payment-api/hc +# - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 +# ports: +# - "5120:80" +# +# webshoppingagg: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - urls__basket=http://basket-api +# - urls__catalog=http://catalog-api +# - urls__orders=http://ordering-api +# - urls__identity=http://identity-api +# - urls__grpcBasket=http://basket-api:81 +# - urls__grpcCatalog=http://catalog-api:81 +# - urls__grpcOrdering=http://ordering-api:81 +# - CatalogUrlHC=http://catalog-api/hc +# - OrderingUrlHC=http://ordering-api/hc +# - IdentityUrlHC=http://identity-api/hc +# - BasketUrlHC=http://basket-api/hc +# - PaymentUrlHC=http://payment-api/hc +# - IdentityUrlExternal=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 +# ports: +# - "5121:80" +# +# ordering-signalrhub: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq} +# - EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME} +# - EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD} +# - AzureServiceBusEnabled=False +# - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} +# - OrchestratorType=${ORCHESTRATOR_TYPE} +# - identityUrl=http://identity-api +# ports: +# - "5112:80" +# +# webstatus: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - HealthChecksUI__HealthChecks__0__Name=WebMVC HTTP Check +# - HealthChecksUI__HealthChecks__0__Uri=http://webmvc/hc +# - HealthChecksUI__HealthChecks__1__Name=WebSPA HTTP Check +# - HealthChecksUI__HealthChecks__1__Uri=http://webspa/hc +# - HealthChecksUI__HealthChecks__2__Name=Web Shopping Aggregator GW HTTP Check +# - HealthChecksUI__HealthChecks__2__Uri=http://webshoppingagg/hc +# - HealthChecksUI__HealthChecks__3__Name=Mobile Shopping Aggregator HTTP Check +# - HealthChecksUI__HealthChecks__3__Uri=http://mobileshoppingagg/hc +# - HealthChecksUI__HealthChecks__4__Name=Ordering HTTP Check +# - HealthChecksUI__HealthChecks__4__Uri=http://ordering-api/hc +# - HealthChecksUI__HealthChecks__5__Name=Basket HTTP Check +# - HealthChecksUI__HealthChecks__5__Uri=http://basket-api/hc +# - HealthChecksUI__HealthChecks__6__Name=Catalog HTTP Check +# - HealthChecksUI__HealthChecks__6__Uri=http://catalog-api/hc +# - HealthChecksUI__HealthChecks__7__Name=Identity HTTP Check +# - HealthChecksUI__HealthChecks__7__Uri=http://identity-api/hc +# - HealthChecksUI__HealthChecks__8__Name=Payments HTTP Check +# - HealthChecksUI__HealthChecks__8__Uri=http://payment-api/hc +# - HealthChecksUI__HealthChecks__9__Name=Ordering SignalRHub HTTP Check +# - HealthChecksUI__HealthChecks__9__Uri=http://ordering-signalrhub/hc +# - HealthChecksUI__HealthChecks__10__Name=Ordering HTTP Background Check +# - HealthChecksUI__HealthChecks__10__Uri=http://ordering-backgroundtasks/hc +# - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} +# - OrchestratorType=${ORCHESTRATOR_TYPE} +# ports: +# - "5107:80" +# +# webspa: +# environment: +# - ASPNETCORE_ENVIRONMENT=Production +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 +# - PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 +# - IdentityUrlHC=http://identity-api/hc +# - UseCustomizationData=True +# - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} +# - OrchestratorType=${ORCHESTRATOR_TYPE} +# - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 +# ports: +# - "5104:80" +# +# webmvc: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - PurchaseUrl=http://webshoppingapigw +# - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 +# - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 +# - IdentityUrlHC=http://identity-api/hc +# - UseCustomizationData=True +# - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} +# - OrchestratorType=${ORCHESTRATOR_TYPE} +# - UseLoadTest=${USE_LOADTEST:-False} +# ports: +# - "5100:80" +# +# webhooks-client: +# environment: +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - Token=6168DB8D-DC58-4094-AF24-483278923590 # Webhooks are registered with this token (any value is valid) but the client won't check it +# - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 +# - CallBackUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5114 +# - WebhooksUrl=http://webhooks-api +# - SelfUrl=http://webhooks-client/ +# ports: +# - "5114:80" - webspa: - environment: - - ASPNETCORE_ENVIRONMENT=Production - - ASPNETCORE_URLS=http://0.0.0.0:80 - - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - - PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 - - IdentityUrlHC=http://identity-api/hc - - UseCustomizationData=True - - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - - OrchestratorType=${ORCHESTRATOR_TYPE} - - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 - ports: - - "5104:80" - - webmvc: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=http://0.0.0.0:80 - - PurchaseUrl=http://webshoppingapigw - - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - - SignalrHubUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202 - - IdentityUrlHC=http://identity-api/hc - - UseCustomizationData=True - - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - - OrchestratorType=${ORCHESTRATOR_TYPE} - - UseLoadTest=${USE_LOADTEST:-False} - ports: - - "5100:80" - - webhooks-client: - environment: - - ASPNETCORE_URLS=http://0.0.0.0:80 - - Token=6168DB8D-DC58-4094-AF24-483278923590 # Webhooks are registered with this token (any value is valid) but the client won't check it - - IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 - - CallBackUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5114 - - WebhooksUrl=http://webhooks-api - - SelfUrl=http://webhooks-client/ - ports: - - "5114:80" volumes: eshop-sqldata: external: false diff --git a/src/docker-compose.prod.yml b/src/docker-compose.prod.yml index 3ff3aa2f2..ae62f1a36 100644 --- a/src/docker-compose.prod.yml +++ b/src/docker-compose.prod.yml @@ -107,56 +107,56 @@ services: ports: - "5111:80" - webspa: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=http://0.0.0.0:80 - - IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105. - - PurchaseUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5202 - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser. - - BasketUrlHC=http://basket-api/hc - - PaymentUrlHC=http://payment-api/hc - - UseCustomizationData=True - - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - - OrchestratorType=${ORCHESTRATOR_TYPE} - ports: - - "5104:80" - - webmvc: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=http://0.0.0.0:80 - - PurchaseUrl=http://webshoppingapigw - - IdentityUrl=http://10.0.75.1:5105 # Local Mac: Use http://docker.for.mac.localhost:5105 || Local Windows: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. || #Remote access: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser. - - CatalogUrlHC=http://catalog-api/hc - - OrderingUrlHC=http://ordering-api/hc - - IdentityUrlHC=http://identity-api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser. - - BasketUrlHC=http://basket-api/hc - - PaymentUrlHC=http://payment-api/hc - - UseCustomizationData=True - - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - - OrchestratorType=${ORCHESTRATOR_TYPE} - - UseLoadTest=${USE_LOADTEST:-False} - ports: - - "5100:80" - - webstatus: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - ASPNETCORE_URLS=http://0.0.0.0:80 - - CatalogUrl=http://catalog-api/hc - - OrderingUrl=http://ordering-api/hc - - BasketUrl=http://basket-api/hc - - IdentityUrl=http://identity-api/hc - - PaymentUrl=http://payment-api/hc - - mvc=http://webmvc/hc - - spa=http://webspa/hc - - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} - - OrchestratorType=${ORCHESTRATOR_TYPE} - ports: - - "5107:80" +# webspa: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105. +# - PurchaseUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5202 +# - CatalogUrlHC=http://catalog-api/hc +# - OrderingUrlHC=http://ordering-api/hc +# - IdentityUrlHC=http://identity-api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser. +# - BasketUrlHC=http://basket-api/hc +# - PaymentUrlHC=http://payment-api/hc +# - UseCustomizationData=True +# - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} +# - OrchestratorType=${ORCHESTRATOR_TYPE} +# ports: +# - "5104:80" +# +# webmvc: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - PurchaseUrl=http://webshoppingapigw +# - IdentityUrl=http://10.0.75.1:5105 # Local Mac: Use http://docker.for.mac.localhost:5105 || Local Windows: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. || #Remote access: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser. +# - CatalogUrlHC=http://catalog-api/hc +# - OrderingUrlHC=http://ordering-api/hc +# - IdentityUrlHC=http://identity-api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser. +# - BasketUrlHC=http://basket-api/hc +# - PaymentUrlHC=http://payment-api/hc +# - UseCustomizationData=True +# - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} +# - OrchestratorType=${ORCHESTRATOR_TYPE} +# - UseLoadTest=${USE_LOADTEST:-False} +# ports: +# - "5100:80" +# +# webstatus: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - ASPNETCORE_URLS=http://0.0.0.0:80 +# - CatalogUrl=http://catalog-api/hc +# - OrderingUrl=http://ordering-api/hc +# - BasketUrl=http://basket-api/hc +# - IdentityUrl=http://identity-api/hc +# - PaymentUrl=http://payment-api/hc +# - mvc=http://webmvc/hc +# - spa=http://webspa/hc +# - ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY} +# - OrchestratorType=${ORCHESTRATOR_TYPE} +# ports: +# - "5107:80" payment-api: environment: @@ -191,45 +191,45 @@ services: - "15672:15672" # Important: In a production environment your should remove the external port - "5672:5672" # Important: In a production environment your should remove the external port - mobileshoppingapigw: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. - ports: - - "5200:80" # Important: In a production environment your should remove the external port (5200) kept here for microservice debugging purposes. - # The API Gateway redirects and access through the internal port (80). - volumes: - - ./ApiGateways/Mobile.Bff.Shopping/apigw:/app/configuration - - webshoppingapigw: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. - ports: - - "5202:80" # Important: In a production environment your should remove the external port (5202) kept here for microservice debugging purposes. - # The API Gateway redirects and access through the internal port (80). - volumes: - - ./ApiGateways/Web.Bff.Shopping/apigw:/app/configuration - - mobileshoppingagg: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - urls__basket=http://basket-api - - urls__catalog=http://catalog-api - - urls__orders=http://ordering-api - - urls__identity=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. - ports: - - "80" # Important: In a production environment your should remove the external port (5120) kept here for microservice debugging purposes. - # The API Gateway redirects and access through the internal port (80). - - webshoppingagg: - environment: - - ASPNETCORE_ENVIRONMENT=Development - - urls__basket=http://basket-api - - urls__catalog=http://catalog-api - - urls__orders=http://ordering-api - - urls__identity=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. - ports: - - "80" # Important: In a production environment your should remove the external port (5121) kept here for microservice debugging purposes. - # The API Gateway redirects and access through the internal port (80). - +# mobileshoppingapigw: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. +# ports: +# - "5200:80" # Important: In a production environment your should remove the external port (5200) kept here for microservice debugging purposes. +# # The API Gateway redirects and access through the internal port (80). +# volumes: +# - ./ApiGateways/Mobile.Bff.Shopping/apigw:/app/configuration +# +# webshoppingapigw: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. +# ports: +# - "5202:80" # Important: In a production environment your should remove the external port (5202) kept here for microservice debugging purposes. +# # The API Gateway redirects and access through the internal port (80). +# volumes: +# - ./ApiGateways/Web.Bff.Shopping/apigw:/app/configuration +# +# mobileshoppingagg: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - urls__basket=http://basket-api +# - urls__catalog=http://catalog-api +# - urls__orders=http://ordering-api +# - urls__identity=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. +# ports: +# - "80" # Important: In a production environment your should remove the external port (5120) kept here for microservice debugging purposes. +# # The API Gateway redirects and access through the internal port (80). +# +# webshoppingagg: +# environment: +# - ASPNETCORE_ENVIRONMENT=Development +# - urls__basket=http://basket-api +# - urls__catalog=http://catalog-api +# - urls__orders=http://ordering-api +# - urls__identity=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110. +# ports: +# - "80" # Important: In a production environment your should remove the external port (5121) kept here for microservice debugging purposes. +# # The API Gateway redirects and access through the internal port (80). +# diff --git a/src/docker-compose.yml b/src/docker-compose.yml index ea9985ab1..6821bad81 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -70,92 +70,92 @@ services: depends_on: - rabbitmq - webhooks-api: - image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: Services/Webhooks/Webhooks.API/Dockerfile - depends_on: - - sqldata - - mobileshoppingapigw: - image: envoyproxy/envoy:v1.16.0 - - mobileshoppingagg: - image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile - depends_on: - - nosqldata - - sqldata - - identity-api - - rabbitmq - - ordering-api - - catalog-api - - basket-api - - webshoppingagg: - image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile - depends_on: - - nosqldata - - sqldata - - identity-api - - rabbitmq - - ordering-api - - catalog-api - - basket-api - - ordering-signalrhub: - image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: Services/Ordering/Ordering.SignalrHub/Dockerfile - depends_on: - - nosqldata - - sqldata - - identity-api - - rabbitmq - - ordering-api - - catalog-api - - basket-api - - webstatus: - image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: Web/WebStatus/Dockerfile - - webspa: - image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: Web/WebSPA/Dockerfile - args: - NODE_IMAGE: ${NODE_IMAGE:-node:12.0} - depends_on: - - webshoppingagg - - webshoppingapigw - - webmvc: - image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: Web/WebMVC/Dockerfile - depends_on: - - webshoppingagg - - webshoppingapigw - - webhooks-client: - image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest} - build: - context: . - dockerfile: Web/WebhookClient/Dockerfile - depends_on: - - webhooks-api - - webshoppingapigw: - image: envoyproxy/envoy:v1.16.0 +# webhooks-api: +# image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: Services/Webhooks/Webhooks.API/Dockerfile +# depends_on: +# - sqldata +# +# mobileshoppingapigw: +# image: envoyproxy/envoy:v1.16.0 +# +# mobileshoppingagg: +# image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile +# depends_on: +# - nosqldata +# - sqldata +# - identity-api +# - rabbitmq +# - ordering-api +# - catalog-api +# - basket-api +# +# webshoppingagg: +# image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile +# depends_on: +# - nosqldata +# - sqldata +# - identity-api +# - rabbitmq +# - ordering-api +# - catalog-api +# - basket-api +# +# ordering-signalrhub: +# image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: Services/Ordering/Ordering.SignalrHub/Dockerfile +# depends_on: +# - nosqldata +# - sqldata +# - identity-api +# - rabbitmq +# - ordering-api +# - catalog-api +# - basket-api +# +# webstatus: +# image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: Web/WebStatus/Dockerfile +# +# webspa: +# image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: Web/WebSPA/Dockerfile +# args: +# NODE_IMAGE: ${NODE_IMAGE:-node:12.0} +# depends_on: +# - webshoppingagg +# - webshoppingapigw +# +# webmvc: +# image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: Web/WebMVC/Dockerfile +# depends_on: +# - webshoppingagg +# - webshoppingapigw +# +# webhooks-client: +# image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest} +# build: +# context: . +# dockerfile: Web/WebhookClient/Dockerfile +# depends_on: +# - webhooks-api +# +# webshoppingapigw: +# image: envoyproxy/envoy:v1.16.0