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.

138 lines
2.9 KiB

  1. version: '3.4'
  2. services:
  3. basket.api:
  4. image: eshop/basket.api-win:${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-win:${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-win:${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-win:${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-win:${TAG:-latest}
  37. build:
  38. context: .
  39. dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
  40. depends_on:
  41. - sql.data
  42. - rabbitmq
  43. ordering.signalrhub:
  44. image: eshop/ordering.signalrhub:${TAG:-latest}
  45. build:
  46. context: .
  47. dockerfile: src/Services/Ordering/Ordering.SignalrHub/Dockerfile
  48. depends_on:
  49. - sql.data
  50. - identity.api
  51. - rabbitmq
  52. marketing.api:
  53. image: eshop/marketing.api-win:${TAG:-latest}
  54. build:
  55. context: .
  56. dockerfile: src/Services/Marketing/Marketing.API/Dockerfile
  57. depends_on:
  58. - sql.data
  59. - nosql.data
  60. - identity.api
  61. - rabbitmq
  62. webspa:
  63. image: eshop/webspa-win:${TAG:-latest}
  64. build:
  65. context: .
  66. dockerfile: src/Web/WebSPA/Dockerfile
  67. depends_on:
  68. - catalog.api
  69. - ordering.api
  70. - identity.api
  71. - basket.api
  72. - marketing.api
  73. webmvc:
  74. image: eshop/webmvc-win:${TAG:-latest}
  75. build:
  76. context: .
  77. dockerfile: src/Web/WebMVC/Dockerfile
  78. depends_on:
  79. - catalog.api
  80. - ordering.api
  81. - identity.api
  82. - basket.api
  83. - marketing.api
  84. webstatus:
  85. image: eshop/webstatus-win:${TAG:-latest}
  86. build:
  87. context: .
  88. dockerfile: src/Web/WebStatus/Dockerfile
  89. payment.api:
  90. image: eshop/payment.api-win:${TAG:-latest}
  91. build:
  92. context: .
  93. dockerfile: src/Services/Payment/Payment.API/Dockerfile
  94. depends_on:
  95. - rabbitmq
  96. locations.api:
  97. image: eshop/locations.api-win:${TAG:-latest}
  98. build:
  99. context: .
  100. dockerfile: src/Services/Location/Locations.API/Dockerfile
  101. depends_on:
  102. - nosql.data
  103. - rabbitmq
  104. sql.data:
  105. image: microsoft/mssql-server-windows-developer
  106. nosql.data:
  107. image: mongo:windowsservercore
  108. basket.data:
  109. image: redis:nanoserver
  110. ports:
  111. - "6379:6379"
  112. rabbitmq:
  113. image: spring2/rabbitmq
  114. ports:
  115. - "15672:15672"
  116. - "5672:5672"
  117. networks:
  118. default:
  119. external:
  120. name: nat