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.

192 lines
4.5 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
  1. version: '3.4'
  2. services:
  3. seq:
  4. image: datalust/seq:latest
  5. sqldata:
  6. image: mcr.microsoft.com/mssql/server:2017-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. marketing-api:
  54. image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
  55. build:
  56. context: .
  57. dockerfile: Services/Marketing/Marketing.API/Dockerfile
  58. depends_on:
  59. - sqldata
  60. - nosqldata
  61. - identity-api
  62. - rabbitmq
  63. payment-api:
  64. image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
  65. build:
  66. context: .
  67. dockerfile: Services/Payment/Payment.API/Dockerfile
  68. depends_on:
  69. - rabbitmq
  70. locations-api:
  71. image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
  72. build:
  73. context: .
  74. dockerfile: Services/Location/Locations.API/Dockerfile
  75. depends_on:
  76. - nosqldata
  77. - rabbitmq
  78. webhooks-api:
  79. image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
  80. build:
  81. context: .
  82. dockerfile: Services/Webhooks/Webhooks.API/Dockerfile
  83. depends_on:
  84. - sqldata
  85. mobileshoppingapigw:
  86. image: envoyproxy/envoy:v1.11.1
  87. mobilemarketingapigw:
  88. image: envoyproxy/envoy:v1.11.1
  89. mobileshoppingagg:
  90. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  91. build:
  92. context: .
  93. dockerfile: ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  94. depends_on:
  95. - nosqldata
  96. - sqldata
  97. - identity-api
  98. - rabbitmq
  99. - ordering-api
  100. - marketing-api
  101. - catalog-api
  102. - basket-api
  103. webshoppingagg:
  104. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  105. build:
  106. context: .
  107. dockerfile: ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  108. depends_on:
  109. - nosqldata
  110. - sqldata
  111. - identity-api
  112. - rabbitmq
  113. - ordering-api
  114. - marketing-api
  115. - catalog-api
  116. - basket-api
  117. ordering-signalrhub:
  118. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  119. build:
  120. context: .
  121. dockerfile: Services/Ordering/Ordering.SignalrHub/Dockerfile
  122. depends_on:
  123. - nosqldata
  124. - sqldata
  125. - identity-api
  126. - rabbitmq
  127. - ordering-api
  128. - marketing-api
  129. - catalog-api
  130. - basket-api
  131. webstatus:
  132. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  133. build:
  134. context: .
  135. dockerfile: Web/WebStatus/Dockerfile
  136. webspa:
  137. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  138. build:
  139. context: .
  140. dockerfile: Web/WebSPA/Dockerfile
  141. args:
  142. NODE_IMAGE: ${NODE_IMAGE:-node:8.11}
  143. # depends_on:
  144. # - webshoppingagg
  145. # - webshoppingapigw
  146. # - webmarketingapigw
  147. webmvc:
  148. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  149. build:
  150. context: .
  151. dockerfile: Web/WebMVC/Dockerfile
  152. depends_on:
  153. - webshoppingagg
  154. - webshoppingapigw
  155. - webmarketingapigw
  156. webhooks-client:
  157. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  158. build:
  159. context: .
  160. dockerfile: Web/WebhookClient/Dockerfile
  161. depends_on:
  162. - webhooks-api
  163. webshoppingapigw:
  164. image: envoyproxy/envoy:v1.11.1
  165. webmarketingapigw:
  166. image: envoyproxy/envoy:v1.11.1