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.

109 lines
2.3 KiB

  1. version: '3'
  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. webspa:
  46. image: eshop/webspa:${TAG:-latest}
  47. build:
  48. context: ./src/Web/WebSPA
  49. dockerfile: Dockerfile
  50. depends_on:
  51. - catalog.api
  52. - ordering.api
  53. - identity.api
  54. - basket.api
  55. - marketing.api
  56. webmvc:
  57. image: eshop/webmvc:${TAG:-latest}
  58. build:
  59. context: ./src/Web/WebMVC
  60. dockerfile: Dockerfile
  61. depends_on:
  62. - catalog.api
  63. - ordering.api
  64. - identity.api
  65. - basket.api
  66. - marketing.api
  67. webstatus:
  68. image: eshop/webstatus:${TAG:-latest}
  69. build:
  70. context: ./src/Web/WebStatus
  71. dockerfile: Dockerfile
  72. payment.api:
  73. image: eshop/payment.api:${TAG:-latest}
  74. build:
  75. context: ./src/Services/Payment/Payment.API
  76. dockerfile: Dockerfile
  77. depends_on:
  78. - rabbitmq
  79. locations.api:
  80. image: eshop/locations.api:${TAG:-latest}
  81. build:
  82. context: ./src/Services/Location/Locations.API
  83. dockerfile: Dockerfile
  84. depends_on:
  85. - nosql.data
  86. - rabbitmq
  87. sql.data:
  88. image: microsoft/mssql-server-linux:2017-latest
  89. nosql.data:
  90. image: mongo
  91. basket.data:
  92. image: redis
  93. rabbitmq:
  94. image: rabbitmq:3-management