compose for put linux and win in tag

This commit is contained in:
eiximenis 2019-03-29 12:26:54 +01:00
parent fed7b3a0f7
commit 7166773a7e

View File

@ -18,7 +18,7 @@ services:
image: rabbitmq:3-management-alpine image: rabbitmq:3-management-alpine
identity.api: identity.api:
image: ${REGISTRY:-eshop}/identity.api:${TAG:-latest} image: ${REGISTRY:-eshop}/identity.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Identity/Identity.API/Dockerfile dockerfile: src/Services/Identity/Identity.API/Dockerfile
@ -26,7 +26,7 @@ services:
- sql.data - sql.data
basket.api: basket.api:
image: ${REGISTRY:-eshop}/basket.api:${TAG:-latest} image: ${REGISTRY:-eshop}/basket.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Basket/Basket.API/Dockerfile dockerfile: src/Services/Basket/Basket.API/Dockerfile
@ -36,7 +36,7 @@ services:
- rabbitmq - rabbitmq
catalog.api: catalog.api:
image: ${REGISTRY:-eshop}/catalog.api:${TAG:-latest} image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Catalog/Catalog.API/Dockerfile dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
@ -45,7 +45,7 @@ services:
- rabbitmq - rabbitmq
ordering.api: ordering.api:
image: ${REGISTRY:-eshop}/ordering.api:${TAG:-latest} image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Ordering/Ordering.API/Dockerfile dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
@ -54,7 +54,7 @@ services:
- rabbitmq - rabbitmq
ordering.backgroundtasks: ordering.backgroundtasks:
image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${TAG:-latest} image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
@ -63,7 +63,7 @@ services:
- rabbitmq - rabbitmq
marketing.api: marketing.api:
image: ${REGISTRY:-eshop}/marketing.api:${TAG:-latest} image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Marketing/Marketing.API/Dockerfile dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
@ -74,7 +74,7 @@ services:
- rabbitmq - rabbitmq
payment.api: payment.api:
image: ${REGISTRY:-eshop}/payment.api:${TAG:-latest} image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Payment/Payment.API/Dockerfile dockerfile: src/Services/Payment/Payment.API/Dockerfile
@ -82,7 +82,7 @@ services:
- rabbitmq - rabbitmq
locations.api: locations.api:
image: ${REGISTRY:-eshop}/locations.api:${TAG:-latest} image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Location/Locations.API/Dockerfile dockerfile: src/Services/Location/Locations.API/Dockerfile
@ -91,7 +91,7 @@ services:
- rabbitmq - rabbitmq
webhooks.api: webhooks.api:
image: ${REGISTRY:-eshop}/webhooks.api:${TAG:-latest} image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
@ -99,7 +99,7 @@ services:
- sql.data - sql.data
mobileshoppingapigw: mobileshoppingapigw:
image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest} image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
@ -114,7 +114,7 @@ services:
- basket.api - basket.api
mobilemarketingapigw: mobilemarketingapigw:
image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest} image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
@ -129,7 +129,7 @@ services:
- basket.api - basket.api
webshoppingapigw: webshoppingapigw:
image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest} image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
@ -144,7 +144,7 @@ services:
- basket.api - basket.api
webmarketingapigw: webmarketingapigw:
image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest} image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
@ -159,7 +159,7 @@ services:
- basket.api - basket.api
mobileshoppingagg: mobileshoppingagg:
image: ${REGISTRY:-eshop}/mobileshoppingagg:${TAG:-latest} image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
@ -174,7 +174,7 @@ services:
- basket.api - basket.api
webshoppingagg: webshoppingagg:
image: ${REGISTRY:-eshop}/webshoppingagg:${TAG:-latest} image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
@ -189,7 +189,7 @@ services:
- basket.api - basket.api
ordering.signalrhub: ordering.signalrhub:
image: ${REGISTRY:-eshop}/ordering.signalrhub:${TAG:-latest} image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
@ -204,13 +204,13 @@ services:
- basket.api - basket.api
webstatus: webstatus:
image: ${REGISTRY:-eshop}/webstatus:${TAG:-latest} image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Web/WebStatus/Dockerfile dockerfile: src/Web/WebStatus/Dockerfile
webspa: webspa:
image: ${REGISTRY:-eshop}/webspa:${TAG:-latest} image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Web/WebSPA/Dockerfile dockerfile: src/Web/WebSPA/Dockerfile
@ -220,7 +220,7 @@ services:
# - webmarketingapigw # - webmarketingapigw
webmvc: webmvc:
image: ${REGISTRY:-eshop}/webmvc:${TAG:-latest} image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Web/WebMVC/Dockerfile dockerfile: src/Web/WebMVC/Dockerfile
@ -230,7 +230,7 @@ services:
- webmarketingapigw - webmarketingapigw
webhooks.client: webhooks.client:
image: ${REGISTRY:-eshop}/webhooks.client:${TAG:-latest} image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
build: build:
context: . context: .
dockerfile: src/Web/WebhookClient/Dockerfile dockerfile: src/Web/WebhookClient/Dockerfile