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.

261 lines
6.5 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. tenantashippinginformation:
  44. image: ${REGISTRY:-eshop}/tenantashippinginformation:${PLATFORM:-linux}-${TAG:-latest}
  45. build:
  46. context: .
  47. dockerfile: src/Services/TenantCustomisations/TenantAShippingInformation/Dockerfile
  48. catalog.api:
  49. image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
  50. build:
  51. context: .
  52. dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
  53. depends_on:
  54. - sql.data
  55. - rabbitmq
  56. ordering.api:
  57. image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
  58. build:
  59. context: .
  60. dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
  61. depends_on:
  62. - sql.data
  63. - rabbitmq
  64. ordering.backgroundtasks:
  65. image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
  66. build:
  67. context: .
  68. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  69. depends_on:
  70. - sql.data
  71. - rabbitmq
  72. marketing.api:
  73. image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
  74. build:
  75. context: .
  76. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  77. depends_on:
  78. - sql.data
  79. - nosql.data
  80. - identity.api
  81. - rabbitmq
  82. payment.api:
  83. image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
  84. build:
  85. context: .
  86. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  87. depends_on:
  88. - rabbitmq
  89. locations.api:
  90. image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
  91. build:
  92. context: .
  93. dockerfile: src/Services/Location/Locations.API/Dockerfile
  94. depends_on:
  95. - nosql.data
  96. - rabbitmq
  97. webhooks.api:
  98. image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
  99. build:
  100. context: .
  101. dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
  102. depends_on:
  103. - sql.data
  104. mobileshoppingapigw:
  105. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. mobilemarketingapigw:
  119. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${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. webshoppingapigw:
  133. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  134. build:
  135. context: .
  136. dockerfile: src/ApiGateways/ApiGw-Base/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. webmarketingapigw:
  147. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  148. build:
  149. context: .
  150. dockerfile: src/ApiGateways/ApiGw-Base/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. mobileshoppingagg:
  161. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  162. build:
  163. context: .
  164. dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/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. webshoppingagg:
  175. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  176. build:
  177. context: .
  178. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  179. depends_on:
  180. - nosql.data
  181. - sql.data
  182. - identity.api
  183. - rabbitmq
  184. - ordering.api
  185. - marketing.api
  186. - catalog.api
  187. - basket.api
  188. ordering.signalrhub:
  189. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  190. build:
  191. context: .
  192. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  193. depends_on:
  194. - nosql.data
  195. - sql.data
  196. - identity.api
  197. - rabbitmq
  198. - ordering.api
  199. - marketing.api
  200. - catalog.api
  201. - basket.api
  202. webstatus:
  203. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  204. build:
  205. context: .
  206. dockerfile: src/Web/WebStatus/Dockerfile
  207. webspa:
  208. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  209. build:
  210. context: .
  211. dockerfile: src/Web/WebSPA/Dockerfile
  212. args:
  213. NODE_IMAGE: ${NODE_IMAGE:-node:8.11}
  214. # depends_on:
  215. # - webshoppingagg
  216. # - webshoppingapigw
  217. # - webmarketingapigw
  218. webmvc:
  219. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  220. build:
  221. context: .
  222. dockerfile: src/Web/WebMVC/Dockerfile
  223. depends_on:
  224. - webshoppingagg
  225. - webshoppingapigw
  226. - webmarketingapigw
  227. webhooks.client:
  228. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  229. build:
  230. context: .
  231. dockerfile: src/Web/WebhookClient/Dockerfile
  232. depends_on:
  233. - webhooks.api