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.

117 lines
2.4 KiB

  1. version: '3'
  2. services:
  3. graceperiodmanager:
  4. image: eshop/graceperiodmanager:${TAG:-latest}
  5. build:
  6. context: ./src/Services/GracePeriod/GracePeriodManager
  7. dockerfile: Dockerfile
  8. depends_on:
  9. - sql.data
  10. - rabbitmq
  11. basket.api:
  12. image: eshop/basket.api:${TAG:-latest}
  13. build:
  14. context: ./src/Services/Basket/Basket.API
  15. dockerfile: Dockerfile
  16. depends_on:
  17. - basket.data
  18. - identity.api
  19. catalog.api:
  20. image: eshop/catalog.api:${TAG:-latest}
  21. build:
  22. context: ./src/Services/Catalog/Catalog.API
  23. dockerfile: Dockerfile
  24. depends_on:
  25. - sql.data
  26. - rabbitmq
  27. identity.api:
  28. image: eshop/identity.api:${TAG:-latest}
  29. build:
  30. context: ./src/Services/Identity/Identity.API
  31. dockerfile: Dockerfile
  32. depends_on:
  33. - sql.data
  34. ordering.api:
  35. image: eshop/ordering.api:${TAG:-latest}
  36. build:
  37. context: ./src/Services/Ordering/Ordering.API
  38. dockerfile: Dockerfile
  39. depends_on:
  40. - sql.data
  41. - rabbitmq
  42. marketing.api:
  43. image: eshop/marketing.api:${TAG:-latest}
  44. build:
  45. context: ./src/Services/Marketing/Marketing.API
  46. dockerfile: Dockerfile
  47. depends_on:
  48. - sql.data
  49. - nosql.data
  50. - identity.api
  51. - rabbitmq
  52. webspa:
  53. image: eshop/webspa:${TAG:-latest}
  54. build:
  55. context: ./src/Web/WebSPA
  56. dockerfile: Dockerfile
  57. depends_on:
  58. - identity.api
  59. - basket.api
  60. webmvc:
  61. image: eshop/webmvc:${TAG:-latest}
  62. build:
  63. context: ./src/Web/WebMVC
  64. dockerfile: Dockerfile
  65. depends_on:
  66. - catalog.api
  67. - ordering.api
  68. - identity.api
  69. - basket.api
  70. - marketing.api
  71. sql.data:
  72. image: microsoft/mssql-server-linux
  73. nosql.data:
  74. image: mongo
  75. basket.data:
  76. image: redis
  77. ports:
  78. - "6379:6379"
  79. rabbitmq:
  80. image: rabbitmq
  81. ports:
  82. - "5672:5672"
  83. webstatus:
  84. image: eshop/webstatus:${TAG:-latest}
  85. build:
  86. context: ./src/Web/WebStatus
  87. dockerfile: Dockerfile
  88. payment.api:
  89. image: eshop/payment.api:${TAG:-latest}
  90. build:
  91. context: ./src/Services/Payment/Payment.API
  92. dockerfile: Dockerfile
  93. depends_on:
  94. - rabbitmq
  95. locations.api:
  96. image: eshop/locations.api:${TAG:-latest}
  97. build:
  98. context: ./src/Services/Location/Locations.API
  99. dockerfile: Dockerfile
  100. depends_on:
  101. - nosql.data
  102. - rabbitmq