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.

86 lines
1.6 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. webspa:
  35. image: eshop/webspa
  36. build:
  37. context: ./src/Web/WebSPA
  38. dockerfile: Dockerfile
  39. depends_on:
  40. - identity.api
  41. - basket.api
  42. webmvc:
  43. image: eshop/webmvc
  44. build:
  45. context: ./src/Web/WebMVC
  46. dockerfile: Dockerfile
  47. depends_on:
  48. - catalog.api
  49. - ordering.api
  50. - identity.api
  51. - basket.api
  52. sql.data:
  53. image: microsoft/mssql-server-linux
  54. nosql.data:
  55. image: mongo
  56. basket.data:
  57. image: redis
  58. ports:
  59. - "6379:6379"
  60. rabbitmq:
  61. image: rabbitmq
  62. ports:
  63. - "5672:5672"
  64. webstatus:
  65. image: eshop/webstatus
  66. build:
  67. context: ./src/Web/WebStatus
  68. dockerfile: Dockerfile
  69. locations.api:
  70. image: locations.api
  71. build:
  72. context: ./src/Services/Location/Locations.API
  73. dockerfile: Dockerfile
  74. depends_on:
  75. - nosql.data