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.

92 lines
1.7 KiB

  1. version: '2'
  2. services:
  3. sagamanager:
  4. image: eshop/sagamanager
  5. build:
  6. context: ./src/Services/SagaManager/SagaManager
  7. dockerfile: Dockerfile
  8. depends_on:
  9. - sql.data
  10. - rabbitmq
  11. basket.api:
  12. image: eshop/basket.api
  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
  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
  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
  36. build:
  37. context: ./src/Services/Ordering/Ordering.API
  38. dockerfile: Dockerfile
  39. depends_on:
  40. - sql.data
  41. - rabbitmq
  42. webspa:
  43. image: eshop/webspa
  44. build:
  45. context: ./src/Web/WebSPA
  46. dockerfile: Dockerfile
  47. depends_on:
  48. - identity.api
  49. - basket.api
  50. webmvc:
  51. image: eshop/webmvc
  52. build:
  53. context: ./src/Web/WebMVC
  54. dockerfile: Dockerfile
  55. depends_on:
  56. - catalog.api
  57. - ordering.api
  58. - identity.api
  59. - basket.api
  60. sql.data:
  61. image: microsoft/mssql-server-linux
  62. basket.data:
  63. image: redis
  64. ports:
  65. - "6379:6379"
  66. rabbitmq:
  67. image: rabbitmq
  68. ports:
  69. - "5672:5672"
  70. webstatus:
  71. image: eshop/webstatus
  72. build:
  73. context: ./src/Web/WebStatus
  74. dockerfile: Dockerfile
  75. payment.api:
  76. image: payment.api
  77. build:
  78. context: ./src/Services/Payment/Payment.API
  79. dockerfile: Dockerfile