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.

122 lines
2.5 KiB

  1. version: '2.1'
  2. services:
  3. basket.api:
  4. image: eshop/basket.api:${TAG:-latest}
  5. build:
  6. context: ./src/Services/Basket/Basket.API
  7. dockerfile: 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: ./src/Services/Catalog/Catalog.API
  16. dockerfile: Dockerfile
  17. depends_on:
  18. - sql.data
  19. - rabbitmq
  20. identity.api:
  21. image: eshop/identity.api:${TAG:-latest}
  22. build:
  23. context: ./src/Services/Identity/Identity.API
  24. dockerfile: Dockerfile
  25. depends_on:
  26. - sql.data
  27. ordering.api:
  28. image: eshop/ordering.api:${TAG:-latest}
  29. build:
  30. context: ./src/Services/Ordering/Ordering.API
  31. dockerfile: Dockerfile
  32. depends_on:
  33. - sql.data
  34. - rabbitmq
  35. marketing.api:
  36. image: eshop/marketing.api:${TAG:-latest}
  37. build:
  38. context: ./src/Services/Marketing/Marketing.API
  39. dockerfile: Dockerfile
  40. depends_on:
  41. - sql.data
  42. - nosql.data
  43. - identity.api
  44. - rabbitmq
  45. graceperiodmanager:
  46. image: eshop/graceperiodmanager:${TAG:-latest}
  47. build:
  48. context: ./src/Services/GracePeriod/GracePeriodManager
  49. dockerfile: Dockerfile
  50. depends_on:
  51. - sql.data
  52. - rabbitmq
  53. webspa:
  54. image: eshop/webspa:${TAG:-latest}
  55. build:
  56. context: ./src/Web/WebSPA
  57. dockerfile: 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: ./src/Web/WebMVC
  68. dockerfile: 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: ./src/Web/WebStatus
  79. dockerfile: Dockerfile
  80. payment.api:
  81. image: eshop/payment.api:${TAG:-latest}
  82. build:
  83. context: ./src/Services/Payment/Payment.API
  84. dockerfile: Dockerfile
  85. depends_on:
  86. - rabbitmq
  87. locations.api:
  88. image: eshop/locations.api:${TAG:-latest}
  89. build:
  90. context: ./src/Services/Location/Locations.API
  91. dockerfile: Dockerfile
  92. depends_on:
  93. - nosql.data
  94. - rabbitmq
  95. sql.data:
  96. image: microsoft/mssql-server-linux
  97. nosql.data:
  98. image: mongo
  99. basket.data:
  100. image: redis
  101. ports:
  102. - "6379:6379"
  103. rabbitmq:
  104. image: rabbitmq:3-management
  105. ports:
  106. - "15672:15672"
  107. - "5672:5672"