New docker compose files
This commit is contained in:
parent
5dac841d69
commit
9d42f6a3b7
@ -1,37 +0,0 @@
|
|||||||
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
|
|
56
docker-compose.nobuild.yml
Normal file
56
docker-compose.nobuild.yml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
basket.api:
|
||||||
|
image: eshop/basket.api
|
||||||
|
depends_on:
|
||||||
|
- basket.data
|
||||||
|
- identity.api
|
||||||
|
- rabbitmq
|
||||||
|
|
||||||
|
catalog.api:
|
||||||
|
image: eshop/catalog.api
|
||||||
|
depends_on:
|
||||||
|
- sql.data
|
||||||
|
- rabbitmq
|
||||||
|
|
||||||
|
identity.api:
|
||||||
|
image: eshop/identity.api
|
||||||
|
depends_on:
|
||||||
|
- sql.data
|
||||||
|
|
||||||
|
ordering.api:
|
||||||
|
image: eshop/ordering.api
|
||||||
|
depends_on:
|
||||||
|
- sql.data
|
||||||
|
|
||||||
|
webspa:
|
||||||
|
image: eshop/webspa
|
||||||
|
depends_on:
|
||||||
|
- identity.api
|
||||||
|
- basket.api
|
||||||
|
|
||||||
|
webmvc:
|
||||||
|
image: eshop/webmvc
|
||||||
|
depends_on:
|
||||||
|
- catalog.api
|
||||||
|
- ordering.api
|
||||||
|
- identity.api
|
||||||
|
- basket.api
|
||||||
|
|
||||||
|
sql.data:
|
||||||
|
image: microsoft/mssql-server-linux
|
||||||
|
|
||||||
|
basket.data:
|
||||||
|
image: redis
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
|
||||||
|
rabbitmq:
|
||||||
|
image: rabbitmq
|
||||||
|
ports:
|
||||||
|
- "5672:5672"
|
||||||
|
|
||||||
|
webstatus:
|
||||||
|
image: eshop/webstatus
|
||||||
|
|
@ -3,6 +3,9 @@ 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
|
||||||
@ -10,28 +13,43 @@ 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
|
||||||
@ -53,4 +71,7 @@ services:
|
|||||||
|
|
||||||
webstatus:
|
webstatus:
|
||||||
image: eshop/webstatus
|
image: eshop/webstatus
|
||||||
|
build:
|
||||||
|
context: ./src/Web/WebStatus
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user