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: '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. - identity.api
  60. - basket.api
  61. webmvc:
  62. image: eshop/webmvc:${TAG:-latest}
  63. build:
  64. context: ./src/Web/WebMVC
  65. dockerfile: Dockerfile
  66. depends_on:
  67. - catalog.api
  68. - ordering.api
  69. - identity.api
  70. - basket.api
  71. - marketing.api
  72. sql.data:
  73. image: microsoft/mssql-server-linux
  74. nosql.data:
  75. image: mongo
  76. basket.data:
  77. image: redis
  78. ports:
  79. - "6379:6379"
  80. rabbitmq:
  81. image: rabbitmq
  82. ports:
  83. - "5672:5672"
  84. webstatus:
  85. image: eshop/webstatus:${TAG:-latest}
  86. build:
  87. context: ./src/Web/WebStatus
  88. dockerfile: Dockerfile
  89. payment.api:
  90. image: eshop/payment.api:${TAG:-latest}
  91. build:
  92. context: ./src/Services/Payment/Payment.API
  93. dockerfile: Dockerfile
  94. depends_on:
  95. - rabbitmq
  96. locations.api:
  97. image: eshop/locations.api:${TAG:-latest}
  98. build:
  99. context: ./src/Services/Location/Locations.API
  100. dockerfile: Dockerfile
  101. depends_on:
  102. - nosql.data
  103. - rabbitmq