2018-01-04 11:01:45 -08:00
|
|
|
version: '3.4'
|
2017-03-24 13:15:40 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
basket.api:
|
2017-06-19 19:01:00 +02:00
|
|
|
image: eshop/basket.api-win:${TAG:-latest}
|
2017-03-24 13:15:40 +01:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Services/Basket/Basket.API/Dockerfile
|
2017-03-24 13:15:40 +01:00
|
|
|
depends_on:
|
|
|
|
- basket.data
|
|
|
|
- identity.api
|
2017-08-03 12:59:38 +02:00
|
|
|
- rabbitmq
|
2017-03-24 13:15:40 +01:00
|
|
|
|
|
|
|
catalog.api:
|
2017-06-19 19:01:00 +02:00
|
|
|
image: eshop/catalog.api-win:${TAG:-latest}
|
2017-03-24 13:15:40 +01:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
|
2017-03-24 13:15:40 +01:00
|
|
|
depends_on:
|
|
|
|
- sql.data
|
2017-08-03 12:59:38 +02:00
|
|
|
- rabbitmq
|
2017-03-24 13:15:40 +01:00
|
|
|
|
|
|
|
identity.api:
|
2017-06-19 19:01:00 +02:00
|
|
|
image: eshop/identity.api-win:${TAG:-latest}
|
2017-03-24 13:15:40 +01:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Services/Identity/Identity.API/Dockerfile
|
2017-03-24 13:15:40 +01:00
|
|
|
depends_on:
|
|
|
|
- sql.data
|
|
|
|
|
|
|
|
ordering.api:
|
2017-06-19 19:01:00 +02:00
|
|
|
image: eshop/ordering.api-win:${TAG:-latest}
|
2017-03-24 13:15:40 +01:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
|
2017-03-24 13:15:40 +01:00
|
|
|
depends_on:
|
|
|
|
- sql.data
|
2017-08-03 12:59:38 +02:00
|
|
|
- rabbitmq
|
2017-03-24 13:15:40 +01:00
|
|
|
|
2017-09-04 19:07:53 +02:00
|
|
|
marketing.api:
|
2017-09-05 15:55:17 +02:00
|
|
|
image: eshop/marketing.api-win:${TAG:-latest}
|
2017-09-04 19:07:53 +02:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
|
2017-09-04 19:07:53 +02:00
|
|
|
depends_on:
|
|
|
|
- sql.data
|
|
|
|
- nosql.data
|
|
|
|
- identity.api
|
2017-12-12 19:04:38 +01:00
|
|
|
- rabbitmq
|
2017-09-04 19:07:53 +02:00
|
|
|
|
2017-03-24 13:15:40 +01:00
|
|
|
webspa:
|
2017-06-19 19:01:00 +02:00
|
|
|
image: eshop/webspa-win:${TAG:-latest}
|
2017-03-24 13:15:40 +01:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Web/WebSPA/Dockerfile
|
2017-03-24 13:15:40 +01:00
|
|
|
depends_on:
|
2017-09-04 19:07:53 +02:00
|
|
|
- catalog.api
|
|
|
|
- ordering.api
|
2017-03-24 13:15:40 +01:00
|
|
|
- identity.api
|
|
|
|
- basket.api
|
2017-09-04 19:07:53 +02:00
|
|
|
- marketing.api
|
2017-03-24 13:15:40 +01:00
|
|
|
|
|
|
|
webmvc:
|
2017-06-19 19:01:00 +02:00
|
|
|
image: eshop/webmvc-win:${TAG:-latest}
|
2017-03-24 13:15:40 +01:00
|
|
|
build:
|
2018-01-05 10:28:05 -08:00
|
|
|
context: .
|
|
|
|
dockerfile: src/Web/WebMVC/Dockerfile
|
2017-03-24 13:15:40 +01:00
|
|
|
depends_on:
|
|
|
|
- catalog.api
|
|
|
|
- ordering.api
|
|
|
|
- identity.api
|
|
|
|
- basket.api
|
2017-08-03 12:59:38 +02:00
|
|
|
- marketing.api
|
2017-06-09 12:16:57 +02:00
|
|
|
|
2017-08-03 12:59:38 +02:00
|
|
|
webstatus:
|
2017-09-05 15:55:17 +02:00
|
|
|
image: eshop/webstatus-win:${TAG:-latest}
|
2017-08-03 12:59:38 +02:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Web/WebStatus/Dockerfile
|
2017-08-03 12:59:38 +02:00
|
|
|
|
2017-09-04 19:07:53 +02:00
|
|
|
payment.api:
|
2017-09-05 15:55:17 +02:00
|
|
|
image: eshop/payment.api-win:${TAG:-latest}
|
2017-06-09 12:16:57 +02:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Services/Payment/Payment.API/Dockerfile
|
2017-06-09 12:16:57 +02:00
|
|
|
depends_on:
|
2017-12-12 19:04:38 +01:00
|
|
|
- rabbitmq
|
2017-06-13 17:31:37 +02:00
|
|
|
|
2017-09-04 19:07:53 +02:00
|
|
|
locations.api:
|
2017-09-05 15:55:17 +02:00
|
|
|
image: eshop/locations.api-win:${TAG:-latest}
|
2017-06-13 17:31:37 +02:00
|
|
|
build:
|
2017-12-12 19:04:38 +01:00
|
|
|
context: .
|
2018-01-04 11:01:45 -08:00
|
|
|
dockerfile: src/Services/Location/Locations.API/Dockerfile
|
2017-06-13 17:31:37 +02:00
|
|
|
depends_on:
|
|
|
|
- nosql.data
|
|
|
|
- rabbitmq
|
|
|
|
|
2017-03-24 13:15:40 +01:00
|
|
|
sql.data:
|
|
|
|
image: microsoft/mssql-server-windows
|
2017-06-09 12:16:57 +02:00
|
|
|
|
|
|
|
nosql.data:
|
|
|
|
image: mongo:windowsservercore
|
2017-03-24 13:15:40 +01:00
|
|
|
|
|
|
|
basket.data:
|
2017-05-12 11:06:39 +02:00
|
|
|
image: redis:nanoserver
|
2017-03-24 13:15:40 +01:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
|
|
|
|
|
|
|
rabbitmq:
|
2017-05-12 11:06:39 +02:00
|
|
|
image: spring2/rabbitmq
|
2017-03-24 13:15:40 +01:00
|
|
|
ports:
|
2017-09-04 19:07:53 +02:00
|
|
|
- "15672:15672"
|
|
|
|
- "5672:5672"
|
2017-08-03 12:59:38 +02:00
|
|
|
|
2017-03-24 13:15:40 +01:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
external:
|
|
|
|
name: nat
|
|
|
|
|