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.

118 lines
2.4 KiB

  1. version: '2.1'
  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. - rabbitmq
  20. catalog.api:
  21. image: eshop/catalog.api:${TAG:-latest}
  22. build:
  23. context: ./src/Services/Catalog/Catalog.API
  24. dockerfile: Dockerfile
  25. depends_on:
  26. - sql.data
  27. - rabbitmq
  28. identity.api:
  29. image: eshop/identity.api:${TAG:-latest}
  30. build:
  31. context: ./src/Services/Identity/Identity.API
  32. dockerfile: Dockerfile
  33. depends_on:
  34. - sql.data
  35. ordering.api:
  36. image: eshop/ordering.api:${TAG:-latest}
  37. build:
  38. context: ./src/Services/Ordering/Ordering.API
  39. dockerfile: Dockerfile
  40. depends_on:
  41. - sql.data
  42. - rabbitmq
  43. marketing.api:
  44. image: eshop/marketing.api:${TAG:-latest}
  45. build:
  46. context: ./src/Services/Marketing/Marketing.API
  47. dockerfile: Dockerfile
  48. depends_on:
  49. - sql.data
  50. - nosql.data
  51. - identity.api
  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