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.

216 lines
5.1 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: microsoft/mssql-server-linux: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: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  87. build:
  88. context: .
  89. dockerfile: ApiGateways/ApiGw-Base/Dockerfile
  90. depends_on:
  91. - nosqldata
  92. - sqldata
  93. - identity-api
  94. - rabbitmq
  95. - ordering-api
  96. - marketing-api
  97. - catalog-api
  98. - basket-api
  99. mobilemarketingapigw:
  100. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  101. build:
  102. context: .
  103. dockerfile: ApiGateways/ApiGw-Base/Dockerfile
  104. depends_on:
  105. - nosqldata
  106. - sqldata
  107. - identity-api
  108. - rabbitmq
  109. - ordering-api
  110. - marketing-api
  111. - catalog-api
  112. - basket-api
  113. mobileshoppingagg:
  114. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  115. build:
  116. context: .
  117. dockerfile: ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  118. depends_on:
  119. - nosqldata
  120. - sqldata
  121. - identity-api
  122. - rabbitmq
  123. - ordering-api
  124. - marketing-api
  125. - catalog-api
  126. - basket-api
  127. webshoppingagg:
  128. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  129. build:
  130. context: .
  131. dockerfile: ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  132. depends_on:
  133. - nosqldata
  134. - sqldata
  135. - identity-api
  136. - rabbitmq
  137. - ordering-api
  138. - marketing-api
  139. - catalog-api
  140. - basket-api
  141. ordering-signalrhub:
  142. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  143. build:
  144. context: .
  145. dockerfile: Services/Ordering/Ordering.SignalrHub/Dockerfile
  146. depends_on:
  147. - nosqldata
  148. - sqldata
  149. - identity-api
  150. - rabbitmq
  151. - ordering-api
  152. - marketing-api
  153. - catalog-api
  154. - basket-api
  155. webstatus:
  156. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  157. build:
  158. context: .
  159. dockerfile: Web/WebStatus/Dockerfile
  160. webspa:
  161. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  162. build:
  163. context: .
  164. dockerfile: Web/WebSPA/Dockerfile
  165. args:
  166. NODE_IMAGE: ${NODE_IMAGE:-node:8.11}
  167. # depends_on:
  168. # - webshoppingagg
  169. # - webshoppingapigw
  170. # - webmarketingapigw
  171. webmvc:
  172. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  173. build:
  174. context: .
  175. dockerfile: Web/WebMVC/Dockerfile
  176. depends_on:
  177. - webshoppingagg
  178. - webshoppingapigw
  179. - webmarketingapigw
  180. webhooks-client:
  181. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  182. build:
  183. context: .
  184. dockerfile: Web/WebhookClient/Dockerfile
  185. depends_on:
  186. - webhooks-api
  187. webshoppingapigw:
  188. image: envoyproxy/envoy:v1.11.1
  189. webmarketingapigw:
  190. image: envoyproxy/envoy:v1.11.1