Skip to content

Commit 134b7aa

Browse files
committed
Build compose file
1 parent af09d0a commit 134b7aa

2 files changed

Lines changed: 37 additions & 18 deletions

File tree

docker-compose.build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: '2'
2+
3+
services:
4+
basket.api:
5+
build:
6+
context: ./src/Services/Basket/Basket.API
7+
dockerfile: Dockerfile
8+
9+
catalog.api:
10+
build:
11+
context: ./src/Services/Catalog/Catalog.API
12+
dockerfile: Dockerfile
13+
14+
identity.api:
15+
build:
16+
context: ./src/Services/Identity/Identity.API
17+
dockerfile: Dockerfile
18+
19+
ordering.api:
20+
build:
21+
context: ./src/Services/Ordering/Ordering.API
22+
dockerfile: Dockerfile
23+
24+
webspa:
25+
build:
26+
context: ./src/Web/WebSPA
27+
dockerfile: Dockerfile
28+
29+
webmvc:
30+
build:
31+
context: ./src/Web/WebMVC
32+
dockerfile: Dockerfile
33+
34+
webstatus:
35+
build:
36+
context: ./src/Web/WebStatus
37+
dockerfile: Dockerfile

docker-compose.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,53 +3,35 @@ version: '2'
33
services:
44
basket.api:
55
image: eshop/basket.api
6-
build:
7-
context: ./src/Services/Basket/Basket.API
8-
dockerfile: Dockerfile
96
depends_on:
107
- basket.data
118
- identity.api
129
- rabbitmq
1310

1411
catalog.api:
1512
image: eshop/catalog.api
16-
build:
17-
context: ./src/Services/Catalog/Catalog.API
18-
dockerfile: Dockerfile
1913
depends_on:
2014
- sql.data
2115
- rabbitmq
2216

2317
identity.api:
2418
image: eshop/identity.api
25-
build:
26-
context: ./src/Services/Identity/Identity.API
27-
dockerfile: Dockerfile
2819
depends_on:
2920
- sql.data
3021

3122
ordering.api:
3223
image: eshop/ordering.api
33-
build:
34-
context: ./src/Services/Ordering/Ordering.API
35-
dockerfile: Dockerfile
3624
depends_on:
3725
- sql.data
3826

3927
webspa:
4028
image: eshop/webspa
41-
build:
42-
context: ./src/Web/WebSPA
43-
dockerfile: Dockerfile
4429
depends_on:
4530
- identity.api
4631
- basket.api
4732

4833
webmvc:
4934
image: eshop/webmvc
50-
build:
51-
context: ./src/Web/WebMVC
52-
dockerfile: Dockerfile
5335
depends_on:
5436
- catalog.api
5537
- ordering.api

0 commit comments

Comments
 (0)