eShopOnContainers/docker-compose.yml

114 lines
2.3 KiB
YAML
Raw Normal View History

version: '2.1'
2017-05-08 10:48:06 +02:00
services:
2017-05-08 10:48:06 +02:00
basket.api:
image: eshop/basket.api:${TAG:-latest}
2017-05-19 19:32:42 +02:00
build:
context: ./src/Services/Basket/Basket.API
dockerfile: Dockerfile
depends_on:
- basket.data
- identity.api
- rabbitmq
catalog.api:
image: eshop/catalog.api:${TAG:-latest}
2017-05-19 19:32:42 +02:00
build:
context: ./src/Services/Catalog/Catalog.API
dockerfile: Dockerfile
depends_on:
- sql.data
- rabbitmq
identity.api:
image: eshop/identity.api:${TAG:-latest}
2017-05-19 19:32:42 +02:00
build:
context: ./src/Services/Identity/Identity.API
dockerfile: Dockerfile
depends_on:
- sql.data
ordering.api:
image: eshop/ordering.api:${TAG:-latest}
2017-05-19 19:32:42 +02:00
build:
context: ./src/Services/Ordering/Ordering.API
dockerfile: Dockerfile
depends_on:
- sql.data
2017-05-08 10:48:06 +02:00
- rabbitmq
2017-06-01 10:10:20 +02:00
marketing.api:
image: eshop/marketing.api:${TAG:-latest}
2017-06-01 10:10:20 +02:00
build:
context: ./src/Services/Marketing/Marketing.API
dockerfile: Dockerfile
depends_on:
- sql.data
2017-06-13 17:31:37 +02:00
- nosql.data
2017-06-01 10:10:20 +02:00
- identity.api
2017-06-13 17:31:37 +02:00
- rabbitmq
2017-06-01 10:10:20 +02:00
webspa:
image: eshop/webspa:${TAG:-latest}
2017-05-19 19:32:42 +02:00
build:
context: ./src/Web/WebSPA
dockerfile: Dockerfile
2017-02-17 13:26:42 +01:00
depends_on:
- catalog.api
- ordering.api
2017-02-17 13:26:42 +01:00
- identity.api
- basket.api
- marketing.api
webmvc:
image: eshop/webmvc:${TAG:-latest}
2017-05-19 19:32:42 +02:00
build:
context: ./src/Web/WebMVC
dockerfile: Dockerfile
depends_on:
- catalog.api
- ordering.api
- identity.api
- basket.api
2017-06-15 19:22:47 +02:00
- marketing.api
2017-03-23 19:10:55 +01:00
webstatus:
image: eshop/webstatus:${TAG:-latest}
2017-05-19 19:32:42 +02:00
build:
context: ./src/Web/WebStatus
2017-03-23 19:10:55 +01:00
dockerfile: Dockerfile
2017-04-28 15:04:38 +02:00
payment.api:
image: eshop/payment.api:${TAG:-latest}
2017-04-28 15:04:38 +02:00
build:
context: ./src/Services/Payment/Payment.API
dockerfile: Dockerfile
depends_on:
2017-06-12 13:52:23 +02:00
- rabbitmq
2017-05-30 15:01:58 +02:00
locations.api:
image: eshop/locations.api:${TAG:-latest}
2017-05-30 15:01:58 +02:00
build:
context: ./src/Services/Location/Locations.API
dockerfile: Dockerfile
depends_on:
2017-06-12 13:52:23 +02:00
- nosql.data
2017-06-13 17:31:37 +02:00
- rabbitmq
sql.data:
image: microsoft/mssql-server-linux:latest
nosql.data:
image: mongo
basket.data:
image: redis
ports:
- "6379:6379"
rabbitmq:
image: rabbitmq:3-management
ports:
- "15672:15672"
- "5672:5672"