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.

237 lines
5.4 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: ${REGISTRY:-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: ${REGISTRY:-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: ${REGISTRY:-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: ${REGISTRY:-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: ${REGISTRY:-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: ${REGISTRY:-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: ${REGISTRY:-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: ${REGISTRY:-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. webhooks.api:
  79. image: ${REGISTRY:-eshop}/webhooks.api:${TAG:-latest}
  80. build:
  81. context: .
  82. dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
  83. depends_on:
  84. - sql.data
  85. mobileshoppingapigw:
  86. image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
  87. build:
  88. context: .
  89. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  90. depends_on:
  91. - nosql.data
  92. - sql.data
  93. - identity.api
  94. - rabbitmq
  95. - ordering.api
  96. - marketing.api
  97. - catalog.api
  98. - basket.api
  99. mobilemarketingapigw:
  100. image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
  101. build:
  102. context: .
  103. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  104. depends_on:
  105. - nosql.data
  106. - sql.data
  107. - identity.api
  108. - rabbitmq
  109. - ordering.api
  110. - marketing.api
  111. - catalog.api
  112. - basket.api
  113. webshoppingapigw:
  114. image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
  115. build:
  116. context: .
  117. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  118. depends_on:
  119. - nosql.data
  120. - sql.data
  121. - identity.api
  122. - rabbitmq
  123. - ordering.api
  124. - marketing.api
  125. - catalog.api
  126. - basket.api
  127. webmarketingapigw:
  128. image: ${REGISTRY:-eshop}/ocelotapigw:${TAG:-latest}
  129. build:
  130. context: .
  131. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  132. depends_on:
  133. - nosql.data
  134. - sql.data
  135. - identity.api
  136. - rabbitmq
  137. - ordering.api
  138. - marketing.api
  139. - catalog.api
  140. - basket.api
  141. mobileshoppingagg:
  142. image: ${REGISTRY:-eshop}/mobileshoppingagg:${TAG:-latest}
  143. build:
  144. context: .
  145. dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  146. depends_on:
  147. - nosql.data
  148. - sql.data
  149. - identity.api
  150. - rabbitmq
  151. - ordering.api
  152. - marketing.api
  153. - catalog.api
  154. - basket.api
  155. webshoppingagg:
  156. image: ${REGISTRY:-eshop}/webshoppingagg:${TAG:-latest}
  157. build:
  158. context: .
  159. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  160. depends_on:
  161. - nosql.data
  162. - sql.data
  163. - identity.api
  164. - rabbitmq
  165. - ordering.api
  166. - marketing.api
  167. - catalog.api
  168. - basket.api
  169. ordering.signalrhub:
  170. image: ${REGISTRY:-eshop}/ordering.signalrhub:${TAG:-latest}
  171. build:
  172. context: .
  173. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  174. depends_on:
  175. - nosql.data
  176. - sql.data
  177. - identity.api
  178. - rabbitmq
  179. - ordering.api
  180. - marketing.api
  181. - catalog.api
  182. - basket.api
  183. webstatus:
  184. image: ${REGISTRY:-eshop}/webstatus:${TAG:-latest}
  185. build:
  186. context: .
  187. dockerfile: src/Web/WebStatus/Dockerfile
  188. webspa:
  189. image: ${REGISTRY:-eshop}/webspa:${TAG:-latest}
  190. build:
  191. context: .
  192. dockerfile: src/Web/WebSPA/Dockerfile
  193. # depends_on:
  194. # - webshoppingagg
  195. # - webshoppingapigw
  196. # - webmarketingapigw
  197. webmvc:
  198. image: ${REGISTRY:-eshop}/webmvc:${TAG:-latest}
  199. build:
  200. context: .
  201. dockerfile: src/Web/WebMVC/Dockerfile
  202. depends_on:
  203. - webshoppingagg
  204. - webshoppingapigw
  205. - webmarketingapigw
  206. webhooks.client:
  207. image: ${REGISTRY:-eshop}/webhooks.client:${TAG:-latest}
  208. build:
  209. context: .
  210. dockerfile: src/Web/WebhookClient/Dockerfile
  211. depends_on:
  212. - webhooks.api