|
|
- version: '3.4'
-
- services:
-
- elasticsearch:
- build:
- context: elk/elasticsearch/
- volumes:
- - ./elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
- ports:
- - "9200:9200"
- - "9300:9300"
- environment:
- ES_JAVA_OPTS: "-Xmx256m -Xms256m"
-
- logstash:
- build:
- context: elk/logstash/
- volumes:
- - ./elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro
- - ./elk/logstash/pipeline:/usr/share/logstash/pipeline:ro
- ports:
- - "8080:8080"
- environment:
- LS_JAVA_OPTS: "-Xmx256m -Xms256m"
- depends_on:
- - elasticsearch
-
- kibana:
- build:
- context: elk/kibana/
- volumes:
- - ./elk/kibana/config/:/usr/share/kibana/config:ro
- ports:
- - "5601:5601"
- depends_on:
- - elasticsearch
-
- seq:
- image: datalust/seq:latest
-
- sql.data:
- image: microsoft/mssql-server-linux:2017-latest
-
- nosql.data:
- image: mongo
-
- basket.data:
- image: redis:alpine
-
- rabbitmq:
- image: rabbitmq:3-management-alpine
-
- identity.api:
- image: ${REGISTRY:-eshop}/identity.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Identity/Identity.API/Dockerfile
- depends_on:
- - sql.data
-
- basket.api:
- image: ${REGISTRY:-eshop}/basket.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Basket/Basket.API/Dockerfile
- depends_on:
- - basket.data
- - identity.api
- - rabbitmq
-
- catalog.api:
- image: ${REGISTRY:-eshop}/catalog.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
- depends_on:
- - sql.data
- - rabbitmq
-
- ordering.api:
- image: ${REGISTRY:-eshop}/ordering.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
- depends_on:
- - sql.data
- - rabbitmq
-
- ordering.backgroundtasks:
- image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
- depends_on:
- - sql.data
- - rabbitmq
-
- marketing.api:
- image: ${REGISTRY:-eshop}/marketing.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
- depends_on:
- - sql.data
- - nosql.data
- - identity.api
- - rabbitmq
-
- payment.api:
- image: ${REGISTRY:-eshop}/payment.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Payment/Payment.API/Dockerfile
- depends_on:
- - rabbitmq
-
- locations.api:
- image: ${REGISTRY:-eshop}/locations.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Location/Locations.API/Dockerfile
- depends_on:
- - nosql.data
- - rabbitmq
-
- webhooks.api:
- image: ${REGISTRY:-eshop}/webhooks.api:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
- depends_on:
- - sql.data
-
- mobileshoppingapigw:
- image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
- build:
- context: .
- dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
- depends_on:
- - nosql.data
- - sql.data
- - identity.api
- - rabbitmq
- - ordering.api
- - marketing.api
- - catalog.api
- - basket.api
-
- mobilemarketingapigw:
- image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
- build:
- context: .
- dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
- depends_on:
- - nosql.data
- - sql.data
- - identity.api
- - rabbitmq
- - ordering.api
- - marketing.api
- - catalog.api
- - basket.api
-
- webshoppingapigw:
- image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
- build:
- context: .
- dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
- depends_on:
- - nosql.data
- - sql.data
- - identity.api
- - rabbitmq
- - ordering.api
- - marketing.api
- - catalog.api
- - basket.api
-
- webmarketingapigw:
- image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
- build:
- context: .
- dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
- depends_on:
- - nosql.data
- - sql.data
- - identity.api
- - rabbitmq
- - ordering.api
- - marketing.api
- - catalog.api
- - basket.api
-
- mobileshoppingagg:
- image: ${REGISTRY:-eshop}/mobileshoppingagg:${TAG:-latest}
- build:
- context: .
- dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
- depends_on:
- - nosql.data
- - sql.data
- - identity.api
- - rabbitmq
- - ordering.api
- - marketing.api
- - catalog.api
- - basket.api
-
- webshoppingagg:
- image: ${REGISTRY:-eshop}/webshoppingagg:${TAG:-latest}
- build:
- context: .
- dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
- depends_on:
- - nosql.data
- - sql.data
- - identity.api
- - rabbitmq
- - ordering.api
- - marketing.api
- - catalog.api
- - basket.api
-
- ordering.signalrhub:
- image: ${REGISTRY:-eshop}/ordering.signalrhub:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
- depends_on:
- - nosql.data
- - sql.data
- - identity.api
- - rabbitmq
- - ordering.api
- - marketing.api
- - catalog.api
- - basket.api
-
- webstatus:
- image: ${REGISTRY:-eshop}/webstatus:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Web/WebStatus/Dockerfile
-
- webspa:
- image: ${REGISTRY:-eshop}/webspa:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Web/WebSPA/Dockerfile
- # depends_on:
- # - webshoppingagg
- # - webshoppingapigw
- # - webmarketingapigw
-
- webmvc:
- image: ${REGISTRY:-eshop}/webmvc:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Web/WebMVC/Dockerfile
- depends_on:
- - webshoppingagg
- - webshoppingapigw
- - webmarketingapigw
-
- webhooks.client:
- image: ${REGISTRY:-eshop}/webhooks.client:${TAG:-latest}
- build:
- context: .
- dockerfile: src/Web/WebhookClient/Dockerfile
- depends_on:
- - webhooks.api
|