Build compose file
This commit is contained in:
parent
546f443d7f
commit
82cfad4210
37
docker-compose.build.yml
Normal file
37
docker-compose.build.yml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
basket.api:
|
||||||
|
build:
|
||||||
|
context: ./src/Services/Basket/Basket.API
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
catalog.api:
|
||||||
|
build:
|
||||||
|
context: ./src/Services/Catalog/Catalog.API
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
identity.api:
|
||||||
|
build:
|
||||||
|
context: ./src/Services/Identity/Identity.API
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
ordering.api:
|
||||||
|
build:
|
||||||
|
context: ./src/Services/Ordering/Ordering.API
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
webspa:
|
||||||
|
build:
|
||||||
|
context: ./src/Web/WebSPA
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
webmvc:
|
||||||
|
build:
|
||||||
|
context: ./src/Web/WebMVC
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
webstatus:
|
||||||
|
build:
|
||||||
|
context: ./src/Web/WebStatus
|
||||||
|
dockerfile: Dockerfile
|
@ -3,9 +3,6 @@ version: '2'
|
|||||||
services:
|
services:
|
||||||
basket.api:
|
basket.api:
|
||||||
image: eshop/basket.api
|
image: eshop/basket.api
|
||||||
build:
|
|
||||||
context: ./src/Services/Basket/Basket.API
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- basket.data
|
- basket.data
|
||||||
- identity.api
|
- identity.api
|
||||||
@ -13,43 +10,28 @@ services:
|
|||||||
|
|
||||||
catalog.api:
|
catalog.api:
|
||||||
image: eshop/catalog.api
|
image: eshop/catalog.api
|
||||||
build:
|
|
||||||
context: ./src/Services/Catalog/Catalog.API
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sql.data
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
identity.api:
|
identity.api:
|
||||||
image: eshop/identity.api
|
image: eshop/identity.api
|
||||||
build:
|
|
||||||
context: ./src/Services/Identity/Identity.API
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sql.data
|
||||||
|
|
||||||
ordering.api:
|
ordering.api:
|
||||||
image: eshop/ordering.api
|
image: eshop/ordering.api
|
||||||
build:
|
|
||||||
context: ./src/Services/Ordering/Ordering.API
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sql.data
|
||||||
|
|
||||||
webspa:
|
webspa:
|
||||||
image: eshop/webspa
|
image: eshop/webspa
|
||||||
build:
|
|
||||||
context: ./src/Web/WebSPA
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- identity.api
|
- identity.api
|
||||||
- basket.api
|
- basket.api
|
||||||
|
|
||||||
webmvc:
|
webmvc:
|
||||||
image: eshop/webmvc
|
image: eshop/webmvc
|
||||||
build:
|
|
||||||
context: ./src/Web/WebMVC
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- catalog.api
|
- catalog.api
|
||||||
- ordering.api
|
- ordering.api
|
||||||
|
Loading…
x
Reference in New Issue
Block a user