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.

220 lines
4.7 KiB

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