You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

161 lines
3.8 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  1. version: '3.4'
  2. services:
  3. seq:
  4. image: datalust/seq:latest
  5. sqldata:
  6. image: mcr.microsoft.com/mssql/server:2019-latest
  7. nosqldata:
  8. image: mongo
  9. basketdata:
  10. image: redis:alpine
  11. rabbitmq:
  12. image: rabbitmq:3-management-alpine
  13. identity-api:
  14. image: ${REGISTRY:-eshop}/identity.api:${PLATFORM:-linux}-${TAG:-latest}
  15. build:
  16. context: .
  17. dockerfile: Services/Identity/Identity.API/Dockerfile
  18. depends_on:
  19. - sqldata
  20. basket-api:
  21. image: ${REGISTRY:-eshop}/basket.api:${PLATFORM:-linux}-${TAG:-latest}
  22. build:
  23. context: .
  24. dockerfile: Services/Basket/Basket.API/Dockerfile
  25. depends_on:
  26. - basketdata
  27. - identity-api
  28. - rabbitmq
  29. catalog-api:
  30. image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
  31. build:
  32. context: .
  33. dockerfile: Services/Catalog/Catalog.API/Dockerfile
  34. depends_on:
  35. - sqldata
  36. - rabbitmq
  37. ordering-api:
  38. image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
  39. build:
  40. context: .
  41. dockerfile: Services/Ordering/Ordering.API/Dockerfile
  42. depends_on:
  43. - sqldata
  44. - rabbitmq
  45. ordering-backgroundtasks:
  46. image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
  47. build:
  48. context: .
  49. dockerfile: Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  50. depends_on:
  51. - sqldata
  52. - rabbitmq
  53. payment-api:
  54. image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
  55. build:
  56. context: .
  57. dockerfile: Services/Payment/Payment.API/Dockerfile
  58. depends_on:
  59. - rabbitmq
  60. webhooks-api:
  61. image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
  62. build:
  63. context: .
  64. dockerfile: Services/Webhooks/Webhooks.API/Dockerfile
  65. depends_on:
  66. - sqldata
  67. mobileshoppingapigw:
  68. image: envoyproxy/envoy:v1.11.1
  69. mobileshoppingagg:
  70. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  71. build:
  72. context: .
  73. dockerfile: ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  74. depends_on:
  75. - nosqldata
  76. - sqldata
  77. - identity-api
  78. - rabbitmq
  79. - ordering-api
  80. - catalog-api
  81. - basket-api
  82. webshoppingagg:
  83. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  84. build:
  85. context: .
  86. dockerfile: ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  87. depends_on:
  88. - nosqldata
  89. - sqldata
  90. - identity-api
  91. - rabbitmq
  92. - ordering-api
  93. - catalog-api
  94. - basket-api
  95. ordering-signalrhub:
  96. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  97. build:
  98. context: .
  99. dockerfile: Services/Ordering/Ordering.SignalrHub/Dockerfile
  100. depends_on:
  101. - nosqldata
  102. - sqldata
  103. - identity-api
  104. - rabbitmq
  105. - ordering-api
  106. - catalog-api
  107. - basket-api
  108. webstatus:
  109. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  110. build:
  111. context: .
  112. dockerfile: Web/WebStatus/Dockerfile
  113. webspa:
  114. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  115. build:
  116. context: .
  117. dockerfile: Web/WebSPA/Dockerfile
  118. args:
  119. NODE_IMAGE: ${NODE_IMAGE:-node:10.13}
  120. depends_on:
  121. - webshoppingagg
  122. - webshoppingapigw
  123. webmvc:
  124. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  125. build:
  126. context: .
  127. dockerfile: Web/WebMVC/Dockerfile
  128. depends_on:
  129. - webshoppingagg
  130. - webshoppingapigw
  131. webhooks-client:
  132. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  133. build:
  134. context: .
  135. dockerfile: Web/WebhookClient/Dockerfile
  136. depends_on:
  137. - webhooks-api
  138. webshoppingapigw:
  139. image: envoyproxy/envoy:v1.11.1