version: '3'
|
|
|
|
services:
|
|
basket.api:
|
|
image: eshop/basket.api-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Services/Basket/Basket.API/Dockerfile
|
|
depends_on:
|
|
- basket.data
|
|
- identity.api
|
|
- rabbitmq
|
|
|
|
catalog.api:
|
|
image: eshop/catalog.api-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Services/Catalog/Catalog.API/Dockerfile
|
|
depends_on:
|
|
- sql.data
|
|
- rabbitmq
|
|
|
|
identity.api:
|
|
image: eshop/identity.api-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Services/Identity/Identity.API/Dockerfile
|
|
depends_on:
|
|
- sql.data
|
|
|
|
ordering.api:
|
|
image: eshop/ordering.api-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Services/Ordering/Ordering.API/Dockerfile
|
|
depends_on:
|
|
- sql.data
|
|
- rabbitmq
|
|
|
|
marketing.api:
|
|
image: eshop/marketing.api-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Services/Marketing/Marketing.API/Dockerfile
|
|
depends_on:
|
|
- sql.data
|
|
- nosql.data
|
|
- identity.api
|
|
- rabbitmq
|
|
|
|
webspa:
|
|
image: eshop/webspa-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Web/WebSPA/Dockerfile
|
|
depends_on:
|
|
- catalog.api
|
|
- ordering.api
|
|
- identity.api
|
|
- basket.api
|
|
- marketing.api
|
|
|
|
webmvc:
|
|
image: eshop/webmvc-win:${TAG:-latest}
|
|
build:
|
|
context: ./src/Web/WebMVC
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- catalog.api
|
|
- ordering.api
|
|
- identity.api
|
|
- basket.api
|
|
- marketing.api
|
|
|
|
webstatus:
|
|
image: eshop/webstatus-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Web/WebStatus/Dockerfile
|
|
|
|
payment.api:
|
|
image: eshop/payment.api-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Services/Payment/Payment.API/Dockerfile
|
|
depends_on:
|
|
- rabbitmq
|
|
|
|
locations.api:
|
|
image: eshop/locations.api-win:${TAG:-latest}
|
|
build:
|
|
context: .
|
|
dockerfile: ./src/Services/Location/Locations.API/Dockerfile
|
|
depends_on:
|
|
- nosql.data
|
|
- rabbitmq
|
|
|
|
sql.data:
|
|
image: microsoft/mssql-server-windows
|
|
|
|
nosql.data:
|
|
image: mongo:windowsservercore
|
|
|
|
basket.data:
|
|
image: redis:nanoserver
|
|
ports:
|
|
- "6379:6379"
|
|
|
|
rabbitmq:
|
|
image: spring2/rabbitmq
|
|
ports:
|
|
- "15672:15672"
|
|
- "5672:5672"
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: nat
|
|
|