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.

222 lines
4.7 KiB

6 years ago
  1. version: '3.4'
  2. services:
  3. seq:
  4. image: datalust/seq:latest
  5. sql.data:
  6. image: microsoft/mssql-server-linux:2017-latest
  7. nosql.data:
  8. image: mongo
  9. basket.data:
  10. image: redis:alpine
  11. rabbitmq:
  12. image: rabbitmq:3-management-alpine
  13. identity.api:
  14. image: eshop/identity.api:${TAG:-latest}
  15. build:
  16. context: .
  17. dockerfile: src/Services/Identity/Identity.API/Dockerfile
  18. depends_on:
  19. - sql.data
  20. basket.api:
  21. image: eshop/basket.api:${TAG:-latest}
  22. build:
  23. context: .
  24. dockerfile: src/Services/Basket/Basket.API/Dockerfile
  25. depends_on:
  26. - basket.data
  27. - identity.api
  28. - rabbitmq
  29. catalog.api:
  30. image: eshop/catalog.api:${TAG:-latest}
  31. build:
  32. context: .
  33. dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
  34. depends_on:
  35. - sql.data
  36. - rabbitmq
  37. ordering.api:
  38. image: eshop/ordering.api:${TAG:-latest}
  39. build:
  40. context: .
  41. dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
  42. depends_on:
  43. - sql.data
  44. - rabbitmq
  45. ordering.backgroundtasks:
  46. image: eshop/ordering.backgroundtasks:${TAG:-latest}
  47. build:
  48. context: .
  49. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  50. depends_on:
  51. - sql.data
  52. - rabbitmq
  53. marketing.api:
  54. image: eshop/marketing.api:${TAG:-latest}
  55. build:
  56. context: .
  57. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  58. depends_on:
  59. - sql.data
  60. - nosql.data
  61. - identity.api
  62. - rabbitmq
  63. payment.api:
  64. image: eshop/payment.api:${TAG:-latest}
  65. build:
  66. context: .
  67. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  68. depends_on:
  69. - rabbitmq
  70. locations.api:
  71. image: eshop/locations.api:${TAG:-latest}
  72. build:
  73. context: .
  74. dockerfile: src/Services/Location/Locations.API/Dockerfile
  75. depends_on:
  76. - nosql.data
  77. - rabbitmq
  78. mobileshoppingapigw:
  79. image: eshop/ocelotapigw:${TAG:-latest}
  80. build:
  81. context: .
  82. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  83. depends_on:
  84. - nosql.data
  85. - sql.data
  86. - identity.api
  87. - rabbitmq
  88. - ordering.api
  89. - marketing.api
  90. - catalog.api
  91. - basket.api
  92. mobilemarketingapigw:
  93. image: eshop/ocelotapigw:${TAG:-latest}
  94. build:
  95. context: .
  96. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  97. depends_on:
  98. - nosql.data
  99. - sql.data
  100. - identity.api
  101. - rabbitmq
  102. - ordering.api
  103. - marketing.api
  104. - catalog.api
  105. - basket.api
  106. webshoppingapigw:
  107. image: eshop/ocelotapigw:${TAG:-latest}
  108. build:
  109. context: .
  110. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  111. depends_on:
  112. - nosql.data
  113. - sql.data
  114. - identity.api
  115. - rabbitmq
  116. - ordering.api
  117. - marketing.api
  118. - catalog.api
  119. - basket.api
  120. webmarketingapigw:
  121. image: eshop/ocelotapigw:${TAG:-latest}
  122. build:
  123. context: .
  124. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  125. depends_on:
  126. - nosql.data
  127. - sql.data
  128. - identity.api
  129. - rabbitmq
  130. - ordering.api
  131. - marketing.api
  132. - catalog.api
  133. - basket.api
  134. mobileshoppingagg:
  135. image: eshop/mobileshoppingagg:${TAG:-latest}
  136. build:
  137. context: .
  138. dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  139. depends_on:
  140. - nosql.data
  141. - sql.data
  142. - identity.api
  143. - rabbitmq
  144. - ordering.api
  145. - marketing.api
  146. - catalog.api
  147. - basket.api
  148. webshoppingagg:
  149. image: eshop/webshoppingagg:${TAG:-latest}
  150. build:
  151. context: .
  152. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  153. depends_on:
  154. - nosql.data
  155. - sql.data
  156. - identity.api
  157. - rabbitmq
  158. - ordering.api
  159. - marketing.api
  160. - catalog.api
  161. - basket.api
  162. ordering.signalrhub:
  163. image: eshop/ordering.signalrhub:${TAG:-latest}
  164. build:
  165. context: .
  166. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  167. depends_on:
  168. - nosql.data
  169. - sql.data
  170. - identity.api
  171. - rabbitmq
  172. - ordering.api
  173. - marketing.api
  174. - catalog.api
  175. - basket.api
  176. webstatus:
  177. image: eshop/webstatus:${TAG:-latest}
  178. build:
  179. context: .
  180. dockerfile: src/Web/WebStatus/Dockerfile
  181. webspa:
  182. image: eshop/webspa:${TAG:-latest}
  183. build:
  184. context: .
  185. dockerfile: src/Web/WebSPA/Dockerfile
  186. # depends_on:
  187. # - webshoppingagg
  188. # - webshoppingapigw
  189. # - webmarketingapigw
  190. webmvc:
  191. image: eshop/webmvc:${TAG:-latest}
  192. build:
  193. context: .
  194. dockerfile: src/Web/WebMVC/Dockerfile
  195. depends_on:
  196. - webshoppingagg
  197. - webshoppingapigw
  198. - webmarketingapigw