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.

76 lines
1.4 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. basket.data:
  55. image: redis
  56. ports:
  57. - "6379:6379"
  58. rabbitmq:
  59. image: rabbitmq
  60. ports:
  61. - "5672:5672"
  62. webstatus:
  63. image: eshop/webstatus
  64. build:
  65. context: ./src/Web/WebStatus
  66. dockerfile: Dockerfile