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.

253 lines
6.2 KiB

5 years ago
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. tenantacustomisation:
  37. image: ${REGISTRY:-eshop}/tenantacustomisation:${PLATFORM:-linux}-${TAG:-latest}
  38. build:
  39. context: .
  40. dockerfile: src/Services/TenantCustomisations/TenantACustomisations/Dockerfile
  41. catalog.api:
  42. image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
  43. build:
  44. context: .
  45. dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
  46. depends_on:
  47. - sql.data
  48. - rabbitmq
  49. ordering.api:
  50. image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
  51. build:
  52. context: .
  53. dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
  54. depends_on:
  55. - sql.data
  56. - rabbitmq
  57. ordering.backgroundtasks:
  58. image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
  59. build:
  60. context: .
  61. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  62. depends_on:
  63. - sql.data
  64. - rabbitmq
  65. marketing.api:
  66. image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
  67. build:
  68. context: .
  69. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  70. depends_on:
  71. - sql.data
  72. - nosql.data
  73. - identity.api
  74. - rabbitmq
  75. payment.api:
  76. image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
  77. build:
  78. context: .
  79. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  80. depends_on:
  81. - rabbitmq
  82. locations.api:
  83. image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
  84. build:
  85. context: .
  86. dockerfile: src/Services/Location/Locations.API/Dockerfile
  87. depends_on:
  88. - nosql.data
  89. - rabbitmq
  90. webhooks.api:
  91. image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
  92. build:
  93. context: .
  94. dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
  95. depends_on:
  96. - sql.data
  97. mobileshoppingapigw:
  98. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  99. build:
  100. context: .
  101. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  102. depends_on:
  103. - nosql.data
  104. - sql.data
  105. - identity.api
  106. - rabbitmq
  107. - ordering.api
  108. - marketing.api
  109. - catalog.api
  110. - basket.api
  111. mobilemarketingapigw:
  112. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  113. build:
  114. context: .
  115. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  116. depends_on:
  117. - nosql.data
  118. - sql.data
  119. - identity.api
  120. - rabbitmq
  121. - ordering.api
  122. - marketing.api
  123. - catalog.api
  124. - basket.api
  125. webshoppingapigw:
  126. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  127. build:
  128. context: .
  129. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  130. depends_on:
  131. - nosql.data
  132. - sql.data
  133. - identity.api
  134. - rabbitmq
  135. - ordering.api
  136. - marketing.api
  137. - catalog.api
  138. - basket.api
  139. webmarketingapigw:
  140. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  141. build:
  142. context: .
  143. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  144. depends_on:
  145. - nosql.data
  146. - sql.data
  147. - identity.api
  148. - rabbitmq
  149. - ordering.api
  150. - marketing.api
  151. - catalog.api
  152. - basket.api
  153. mobileshoppingagg:
  154. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  155. build:
  156. context: .
  157. dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  158. depends_on:
  159. - nosql.data
  160. - sql.data
  161. - identity.api
  162. - rabbitmq
  163. - ordering.api
  164. - marketing.api
  165. - catalog.api
  166. - basket.api
  167. webshoppingagg:
  168. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  169. build:
  170. context: .
  171. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  172. depends_on:
  173. - nosql.data
  174. - sql.data
  175. - identity.api
  176. - rabbitmq
  177. - ordering.api
  178. - marketing.api
  179. - catalog.api
  180. - basket.api
  181. ordering.signalrhub:
  182. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  183. build:
  184. context: .
  185. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  186. depends_on:
  187. - nosql.data
  188. - sql.data
  189. - identity.api
  190. - rabbitmq
  191. - ordering.api
  192. - marketing.api
  193. - catalog.api
  194. - basket.api
  195. webstatus:
  196. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  197. build:
  198. context: .
  199. dockerfile: src/Web/WebStatus/Dockerfile
  200. webspa:
  201. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  202. build:
  203. context: .
  204. dockerfile: src/Web/WebSPA/Dockerfile
  205. args:
  206. NODE_IMAGE: ${NODE_IMAGE:-node:8.11}
  207. # depends_on:
  208. # - webshoppingagg
  209. # - webshoppingapigw
  210. # - webmarketingapigw
  211. webmvc:
  212. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  213. build:
  214. context: .
  215. dockerfile: src/Web/WebMVC/Dockerfile
  216. depends_on:
  217. - webshoppingagg
  218. - webshoppingapigw
  219. - webmarketingapigw
  220. webhooks.client:
  221. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  222. build:
  223. context: .
  224. dockerfile: src/Web/WebhookClient/Dockerfile
  225. depends_on:
  226. - webhooks.api