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.

271 lines
6.8 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. depends_on:
  49. - sql.data
  50. tenantbshippinginformation:
  51. image: ${REGISTRY:-eshop}/tenantbshippinginformation:${PLATFORM:-linux}-${TAG:-latest}
  52. build:
  53. context: .
  54. dockerfile: src/Services/TenantCustomisations/TenantBShippingInformation/Dockerfile
  55. depends_on:
  56. - sql.data
  57. catalog.api:
  58. image: ${REGISTRY:-eshop}/catalog.api:${PLATFORM:-linux}-${TAG:-latest}
  59. build:
  60. context: .
  61. dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
  62. depends_on:
  63. - sql.data
  64. - rabbitmq
  65. ordering.api:
  66. image: ${REGISTRY:-eshop}/ordering.api:${PLATFORM:-linux}-${TAG:-latest}
  67. build:
  68. context: .
  69. dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
  70. depends_on:
  71. - sql.data
  72. - rabbitmq
  73. ordering.backgroundtasks:
  74. image: ${REGISTRY:-eshop}/ordering.backgroundtasks:${PLATFORM:-linux}-${TAG:-latest}
  75. build:
  76. context: .
  77. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  78. depends_on:
  79. - sql.data
  80. - rabbitmq
  81. marketing.api:
  82. image: ${REGISTRY:-eshop}/marketing.api:${PLATFORM:-linux}-${TAG:-latest}
  83. build:
  84. context: .
  85. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  86. depends_on:
  87. - sql.data
  88. - nosql.data
  89. - identity.api
  90. - rabbitmq
  91. payment.api:
  92. image: ${REGISTRY:-eshop}/payment.api:${PLATFORM:-linux}-${TAG:-latest}
  93. build:
  94. context: .
  95. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  96. depends_on:
  97. - rabbitmq
  98. locations.api:
  99. image: ${REGISTRY:-eshop}/locations.api:${PLATFORM:-linux}-${TAG:-latest}
  100. build:
  101. context: .
  102. dockerfile: src/Services/Location/Locations.API/Dockerfile
  103. depends_on:
  104. - nosql.data
  105. - rabbitmq
  106. webhooks.api:
  107. image: ${REGISTRY:-eshop}/webhooks.api:${PLATFORM:-linux}-${TAG:-latest}
  108. build:
  109. context: .
  110. dockerfile: src/Services/Webhooks/Webhooks.API/Dockerfile
  111. depends_on:
  112. - sql.data
  113. mobileshoppingapigw:
  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. mobilemarketingapigw:
  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. webshoppingapigw:
  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. webmarketingapigw:
  156. image: ${REGISTRY:-eshop}/ocelotapigw:${PLATFORM:-linux}-${TAG:-latest}
  157. build:
  158. context: .
  159. dockerfile: src/ApiGateways/ApiGw-Base/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. mobileshoppingagg:
  170. image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  171. build:
  172. context: .
  173. dockerfile: src/ApiGateways/Mobile.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. webshoppingagg:
  184. image: ${REGISTRY:-eshop}/webshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
  185. build:
  186. context: .
  187. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/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. ordering.signalrhub:
  198. image: ${REGISTRY:-eshop}/ordering.signalrhub:${PLATFORM:-linux}-${TAG:-latest}
  199. build:
  200. context: .
  201. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  202. depends_on:
  203. - nosql.data
  204. - sql.data
  205. - identity.api
  206. - rabbitmq
  207. - ordering.api
  208. - marketing.api
  209. - catalog.api
  210. - basket.api
  211. webstatus:
  212. image: ${REGISTRY:-eshop}/webstatus:${PLATFORM:-linux}-${TAG:-latest}
  213. build:
  214. context: .
  215. dockerfile: src/Web/WebStatus/Dockerfile
  216. webspa:
  217. image: ${REGISTRY:-eshop}/webspa:${PLATFORM:-linux}-${TAG:-latest}
  218. build:
  219. context: .
  220. dockerfile: src/Web/WebSPA/Dockerfile
  221. args:
  222. NODE_IMAGE: ${NODE_IMAGE:-node:8.11}
  223. # depends_on:
  224. # - webshoppingagg
  225. # - webshoppingapigw
  226. # - webmarketingapigw
  227. webmvc:
  228. image: ${REGISTRY:-eshop}/webmvc:${PLATFORM:-linux}-${TAG:-latest}
  229. build:
  230. context: .
  231. dockerfile: src/Web/WebMVC/Dockerfile
  232. depends_on:
  233. - webshoppingagg
  234. - webshoppingapigw
  235. - webmarketingapigw
  236. webhooks.client:
  237. image: ${REGISTRY:-eshop}/webhooks.client:${PLATFORM:-linux}-${TAG:-latest}
  238. build:
  239. context: .
  240. dockerfile: src/Web/WebhookClient/Dockerfile
  241. depends_on:
  242. - webhooks.api