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.

247 lines
6.0 KiB

5 years ago
6 years ago
  1. version: '3.4'
  2. services:
  3. seq:
  4. image: datalust/seq:latest
  5. sql.data:
  6. image: mcr.microsoft.com/mssql/server: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:${PLATFORM:-linux}-${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:${PLATFORM:-linux}-${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. tenantmanager:
  30. image: ${REGISTRY:-eshop}/tenantmanager:${PLATFORM:-linux}-${TAG:-latest}
  31. build:
  32. context: .
  33. dockerfile: src/Services/TenantManager/TenantManager/Dockerfile
  34. depends_on:
  35. - sql.data
  36. catalog.api:
  37. image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
  38. build:
  39. context: .
  40. dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
  41. depends_on:
  42. - sql.data
  43. - rabbitmq
  44. ordering.api:
  45. image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
  46. build:
  47. context: .
  48. dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
  49. depends_on:
  50. - sql.data
  51. - rabbitmq
  52. ordering.backgroundtasks:
  53. image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
  54. build:
  55. context: .
  56. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  57. depends_on:
  58. - sql.data
  59. - rabbitmq
  60. marketing.api:
  61. image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
  62. build:
  63. context: .
  64. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  65. depends_on:
  66. - sql.data
  67. - nosql.data
  68. - identity.api
  69. - rabbitmq
  70. payment.api:
  71. image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
  72. build:
  73. context: .
  74. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  75. depends_on:
  76. - rabbitmq
  77. locations.api:
  78. image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
  79. build:
  80. context: .
  81. dockerfile: src/Services/Location/Locations.API/Dockerfile
  82. depends_on:
  83. - nosql.data
  84. - rabbitmq
  85. webhooks.api:
  86. image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
  87. build:
  88. context: .
  89. dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
  90. depends_on:
  91. - sql.data
  92. mobileshoppingapigw:
  93. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. mobilemarketingapigw:
  107. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. webshoppingapigw:
  121. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. webmarketingapigw:
  135. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  136. build:
  137. context: .
  138. dockerfile: src/ApiGateways/ApiGw-Base/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. mobileshoppingagg:
  149. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  150. build:
  151. context: .
  152. dockerfile: src/ApiGateways/Mobile.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. webshoppingagg:
  163. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  164. build:
  165. context: .
  166. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/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. ordering.signalrhub:
  177. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  178. build:
  179. context: .
  180. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  181. depends_on:
  182. - nosql.data
  183. - sql.data
  184. - identity.api
  185. - rabbitmq
  186. - ordering.api
  187. - marketing.api
  188. - catalog.api
  189. - basket.api
  190. webstatus:
  191. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  192. build:
  193. context: .
  194. dockerfile: src/Web/WebStatus/Dockerfile
  195. webspa:
  196. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  197. build:
  198. context: .
  199. dockerfile: src/Web/WebSPA/Dockerfile
  200. args:
  201. NODE_IMAGE: ${NODE_IMAGE:-node:8.11}
  202. # depends_on:
  203. # - webshoppingagg
  204. # - webshoppingapigw
  205. # - webmarketingapigw
  206. webmvc:
  207. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  208. build:
  209. context: .
  210. dockerfile: src/Web/WebMVC/Dockerfile
  211. depends_on:
  212. - webshoppingagg
  213. - webshoppingapigw
  214. - webmarketingapigw
  215. webhooks.client:
  216. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  217. build:
  218. context: .
  219. dockerfile: src/Web/WebhookClient/Dockerfile
  220. depends_on:
  221. - webhooks.api