You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

216 lines
5.1 KiB

version: '3.4'
services:
seq:
image: datalust/seq:latest
sqldata:
image: microsoft/mssql-server-linux:2017-latest
nosqldata:
image: mongo
basketdata:
image: redis:alpine
rabbitmq:
image: rabbitmq:3-management-alpine
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
- rabbitmq
catalog-api:
image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: Services/Catalog/Catalog.API/Dockerfile
depends_on:
- sqldata
- rabbitmq
ordering-api:
image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: Services/Ordering/Ordering.API/Dockerfile
depends_on:
- sqldata
- rabbitmq
ordering-backgroundtasks:
image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: Services/Ordering/Ordering.BackgroundTasks/Dockerfile
depends_on:
- sqldata
- rabbitmq
marketing-api:
image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: Services/Marketing/Marketing.API/Dockerfile
depends_on:
- sqldata
- nosqldata
- identity-api
- rabbitmq
payment-api:
image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: Services/Payment/Payment.API/Dockerfile
depends_on:
- rabbitmq
locations-api:
image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: Services/Location/Locations.API/Dockerfile
depends_on:
- nosqldata
- 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: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
depends_on:
- nosqldata
- sqldata
- identity-api
- rabbitmq
- ordering-api
- marketing-api
- catalog-api
- basket-api
mobilemarketingapigw:
image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: ApiGateways/ApiGw-Base/Dockerfile
depends_on:
- nosqldata
- sqldata
- identity-api
- rabbitmq
- ordering-api
- marketing-api
- catalog-api
- basket-api
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
- marketing-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
- marketing-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
- marketing-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:8.11}
# depends_on:
# - webshoppingagg
# - webshoppingapigw
# - webmarketingapigw
webmvc:
image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
build:
context: .
dockerfile: Web/WebMVC/Dockerfile
depends_on:
- webshoppingagg
- webshoppingapigw
- webmarketingapigw
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.11.1
webmarketingapigw:
image: envoyproxy/envoy:v1.11.1