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.

95 lines
1.8 KiB

  1. version: '2'
  2. services:
  3. basket.api:
  4. image: eshop/basket.api
  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
  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
  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
  29. build:
  30. context: ./src/Services/Ordering/Ordering.API
  31. dockerfile: Dockerfile
  32. depends_on:
  33. - sql.data
  34. marketing.api:
  35. image: eshop/marketing.api
  36. build:
  37. context: ./src/Services/Marketing/Marketing.API
  38. dockerfile: Dockerfile
  39. depends_on:
  40. - sql.data
  41. - identity.api
  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. nosql.data:
  63. image: mongo
  64. basket.data:
  65. image: redis
  66. ports:
  67. - "6379:6379"
  68. rabbitmq:
  69. image: rabbitmq
  70. ports:
  71. - "5672:5672"
  72. webstatus:
  73. image: eshop/webstatus
  74. build:
  75. context: ./src/Web/WebStatus
  76. dockerfile: Dockerfile
  77. locations.api:
  78. image: locations.api
  79. build:
  80. context: ./src/Services/Location/Locations.API
  81. dockerfile: Dockerfile
  82. depends_on:
  83. - nosql.data