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.

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