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.

119 lines
2.4 KiB

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