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.

51 lines
1.0 KiB

  1. #
  2. # docker-compose.yml is used to set up the base config per container to be deployed
  3. # Take into account that when deploying, this base configuration is merged with the
  4. # configuration-per-environment specified at the docker-compose.override.yml
  5. # Further details and docs: https://docs.docker.com/compose/extends/
  6. #
  7. version: '2'
  8. services:
  9. webmvc:
  10. image: eshop/web
  11. links:
  12. - identity.service:localhost
  13. depends_on:
  14. - identity.service
  15. - basket.api
  16. webspa:
  17. image: eshop/webspa
  18. depends_on:
  19. - basket.api
  20. - identity.service
  21. basket.api:
  22. image: eshop/basket.api
  23. depends_on:
  24. - basket.data
  25. - identity.service
  26. catalog.api:
  27. image: eshop/catalog.api
  28. depends_on:
  29. - sql.data
  30. ordering.api:
  31. image: eshop/ordering.api
  32. depends_on:
  33. - sql.data
  34. identity.service:
  35. image: eshop/identity
  36. depends_on:
  37. - sql.data
  38. sql.data:
  39. image: microsoft/mssql-server-linux
  40. basket.data:
  41. image: redis
  42. ports:
  43. - "6379:6379"