version: '3.4'
|
|
|
|
services:
|
|
|
|
seq:
|
|
image: datalust/seq:latest
|
|
|
|
sqldata:
|
|
image: mcr.microsoft.com/azure-sql-edge:1.0.5
|
|
|
|
nosqldata:
|
|
image: mongo
|
|
|
|
basketdata:
|
|
image: redis:alpine
|
|
|
|
# rabbitmq:
|
|
# image: rabbitmq:3-management-alpine
|
|
|
|
# zookeeper:
|
|
# image: confluentinc/cp-zookeeper:7.3.0
|
|
|
|
# broker:
|
|
# image: confluentinc/cp-kafka:7.3.0
|
|
# depends_on:
|
|
# - zookeeper
|
|
|
|
identity-api:
|
|
image: ${REGISTRY:-eshop}/identity.api:${PLATFORM:-linux}-${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: Services/Identity/Identity.API/Dockerfile
|
|
depends_on:
|
|
- sqldata
|
|
|
|
basket-api:
|
|
image: ${REGISTRY:-eshop}/basket.api:${PLATFORM:-linux}-${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: Services/Basket/Basket.API/Dockerfile
|
|
depends_on:
|
|
- basketdata
|
|
- identity-api
|
|
|
|
catalog-api:
|
|
image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: Services/Catalog/Catalog.API/Dockerfile
|
|
depends_on:
|
|
- sqldata
|
|
|
|
ordering-api:
|
|
image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: Services/Ordering/Ordering.API/Dockerfile
|
|
depends_on:
|
|
- sqldata
|
|
|
|
ordering-backgroundtasks:
|
|
image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: Services/Ordering/Ordering.BackgroundTasks/Dockerfile
|
|
depends_on:
|
|
- sqldata
|
|
|
|
payment-api:
|
|
image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: Services/Payment/Payment.API/Dockerfile
|
|
|
|
# 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
|