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.

161 lines
3.6 KiB

  1. version: '3.4'
  2. services:
  3. basket.api:
  4. image: eshop/basket.api:${TAG:-latest}
  5. build:
  6. context: .
  7. dockerfile: src/Services/Basket/Basket.API/Dockerfile
  8. depends_on:
  9. - basket.data
  10. - identity.api
  11. - rabbitmq
  12. catalog.api:
  13. image: eshop/catalog.api:${TAG:-latest}
  14. build:
  15. context: .
  16. dockerfile: src/Services/Catalog/Catalog.API/Dockerfile
  17. depends_on:
  18. - sql.data
  19. - rabbitmq
  20. identity.api:
  21. image: eshop/identity.api:${TAG:-latest}
  22. build:
  23. context: .
  24. dockerfile: src/Services/Identity/Identity.API/Dockerfile
  25. depends_on:
  26. - sql.data
  27. ordering.api:
  28. image: eshop/ordering.api:${TAG:-latest}
  29. build:
  30. context: .
  31. dockerfile: src/Services/Ordering/Ordering.API/Dockerfile
  32. depends_on:
  33. - sql.data
  34. - rabbitmq
  35. ordering.backgroundtasks:
  36. image: eshop/ordering.backgroundtasks:${TAG:-latest}
  37. build:
  38. context: .
  39. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  40. depends_on:
  41. - sql.data
  42. - rabbitmq
  43. marketing.api:
  44. image: eshop/marketing.api:${TAG:-latest}
  45. build:
  46. context: .
  47. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  48. depends_on:
  49. - sql.data
  50. - nosql.data
  51. - identity.api
  52. - rabbitmq
  53. webspa:
  54. image: eshop/webspa:${TAG:-latest}
  55. build:
  56. context: .
  57. dockerfile: src/Web/WebSPA/Dockerfile
  58. depends_on:
  59. - catalog.api
  60. - ordering.api
  61. - identity.api
  62. - basket.api
  63. - marketing.api
  64. webmvc:
  65. image: eshop/webmvc:${TAG:-latest}
  66. build:
  67. context: .
  68. dockerfile: src/Web/WebMVC/Dockerfile
  69. depends_on:
  70. - catalog.api
  71. - ordering.api
  72. - identity.api
  73. - basket.api
  74. - marketing.api
  75. webstatus:
  76. image: eshop/webstatus:${TAG:-latest}
  77. build:
  78. context: .
  79. dockerfile: src/Web/WebStatus/Dockerfile
  80. payment.api:
  81. image: eshop/payment.api:${TAG:-latest}
  82. build:
  83. context: .
  84. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  85. depends_on:
  86. - rabbitmq
  87. locations.api:
  88. image: eshop/locations.api:${TAG:-latest}
  89. build:
  90. context: .
  91. dockerfile: src/Services/Location/Locations.API/Dockerfile
  92. depends_on:
  93. - nosql.data
  94. - rabbitmq
  95. sql.data:
  96. image: microsoft/mssql-server-linux:2017-latest
  97. nosql.data:
  98. image: mongo
  99. basket.data:
  100. image: redis:alpine
  101. rabbitmq:
  102. image: rabbitmq:3-management-alpine
  103. mobileshoppingapigw:
  104. image: eshop/ocelotapigw:${TAG:-latest}
  105. build:
  106. context: .
  107. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  108. mobilemarketingapigw:
  109. image: eshop/ocelotapigw:${TAG:-latest}
  110. build:
  111. context: .
  112. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  113. webshoppingapigw:
  114. image: eshop/ocelotapigw:${TAG:-latest}
  115. build:
  116. context: .
  117. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  118. webmarketingapigw:
  119. image: eshop/ocelotapigw:${TAG:-latest}
  120. build:
  121. context: .
  122. dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
  123. mobileshoppingagg:
  124. image: eshop/mobileshoppingagg:${TAG:-latest}
  125. build:
  126. context: .
  127. dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
  128. webshoppingagg:
  129. image: eshop/webshoppingagg:${TAG:-latest}
  130. build:
  131. context: .
  132. dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
  133. ordering.signalrhub:
  134. image: eshop/ordering.signalrhub:${TAG:-latest}
  135. build:
  136. context: .
  137. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile