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.

255 lines
6.3 KiB

5 years ago
5 years ago
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. depends_on:
  42. - sql.data
  43. catalog.api:
  44. image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
  45. build:
  46. context: .
  47. dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
  48. depends_on:
  49. - sql.data
  50. - rabbitmq
  51. ordering.api:
  52. image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
  53. build:
  54. context: .
  55. dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
  56. depends_on:
  57. - sql.data
  58. - rabbitmq
  59. ordering.backgroundtasks:
  60. image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
  61. build:
  62. context: .
  63. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  64. depends_on:
  65. - sql.data
  66. - rabbitmq
  67. marketing.api:
  68. image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
  69. build:
  70. context: .
  71. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  72. depends_on:
  73. - sql.data
  74. - nosql.data
  75. - identity.api
  76. - rabbitmq
  77. payment.api:
  78. image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
  79. build:
  80. context: .
  81. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  82. depends_on:
  83. - rabbitmq
  84. locations.api:
  85. image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
  86. build:
  87. context: .
  88. dockerfile: src/Services/Location/Locations.API/Dockerfile
  89. depends_on:
  90. - nosql.data
  91. - rabbitmq
  92. webhooks.api:
  93. image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
  94. build:
  95. context: .
  96. dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
  97. depends_on:
  98. - sql.data
  99. mobileshoppingapigw:
  100. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. mobilemarketingapigw:
  114. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. webshoppingapigw:
  128. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. webmarketingapigw:
  142. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  143. build:
  144. context: .
  145. dockerfile: src/ApiGateways/ApiGw-Base/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. mobileshoppingagg:
  156. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  157. build:
  158. context: .
  159. dockerfile: src/ApiGateways/Mobile.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. webshoppingagg:
  170. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  171. build:
  172. context: .
  173. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/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. ordering.signalrhub:
  184. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  185. build:
  186. context: .
  187. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  188. depends_on:
  189. - nosql.data
  190. - sql.data
  191. - identity.api
  192. - rabbitmq
  193. - ordering.api
  194. - marketing.api
  195. - catalog.api
  196. - basket.api
  197. webstatus:
  198. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  199. build:
  200. context: .
  201. dockerfile: src/Web/WebStatus/Dockerfile
  202. webspa:
  203. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  204. build:
  205. context: .
  206. dockerfile: src/Web/WebSPA/Dockerfile
  207. args:
  208. NODE_IMAGE: ${NODE_IMAGE:-node:8.11}
  209. # depends_on:
  210. # - webshoppingagg
  211. # - webshoppingapigw
  212. # - webmarketingapigw
  213. webmvc:
  214. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  215. build:
  216. context: .
  217. dockerfile: src/Web/WebMVC/Dockerfile
  218. depends_on:
  219. - webshoppingagg
  220. - webshoppingapigw
  221. - webmarketingapigw
  222. webhooks.client:
  223. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  224. build:
  225. context: .
  226. dockerfile: src/Web/WebhookClient/Dockerfile
  227. depends_on:
  228. - webhooks.api