Browse Source

compose for put linux and win in tag

pull/983/head
eiximenis 5 years ago
parent
commit
7166773a7e
1 changed files with 20 additions and 20 deletions
  1. +20
    -20
      docker-compose.yml

+ 20
- 20
docker-compose.yml View File

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


Loading…
Cancel
Save