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.

73 lines
3.2 KiB

  1. #
  2. # docker-compose.override.yml is used to set up local configuration environment
  3. # Things like the external ports to use or secrets/passwords depend on the
  4. # specific deployment environment you might be using.
  5. # Further details and docs: https://docs.docker.com/compose/extends/
  6. #
  7. version: '2'
  8. services:
  9. webmvc:
  10. environment:
  11. - CatalogUrl=http://catalog.api
  12. - OrderingUrl=http://ordering.api:5102
  13. #- IdentityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
  14. - IdentityUrl=http://10.0.75.1:5105 #Local: You need to open windows firewall at range 5100-5105.
  15. #- IdentityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
  16. - BasketUrl=http://basket.api:5103
  17. ports:
  18. - "5100:5100"
  19. webspa:
  20. environment:
  21. - CatalogUrl=http://catalog.api
  22. - OrderingUrl=http://ordering.api
  23. #- IdentityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
  24. #- IdentityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
  25. - IdentityUrl=http://10.0.75.1:5105 #Local: You need to open windows firewall at range 5100-5105.
  26. - BasketUrl=http://basket.api:5103
  27. ports:
  28. - "5104:80"
  29. basket.api:
  30. environment:
  31. - ConnectionString=basket.data
  32. #- identityUrl=http://13.88.8.119:5105 #Remote
  33. #- identityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
  34. - identityUrl=http://10.0.75.1:5105 #Local: You need to open windows firewall at range 5100-5105.
  35. ports:
  36. - "5103:5103"
  37. catalog.api:
  38. environment:
  39. - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word
  40. ports:
  41. - "5101:80"
  42. ordering.api:
  43. environment:
  44. - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
  45. #- identityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
  46. #- identityUrl=http://identity.service:5105 #Local: You need a entry in windows host file to run identity in local docker.
  47. - identityUrl=http://10.0.75.1:5105 #Local: You need to open windows firewall at range 5100-5105.
  48. ports:
  49. - "5102:5102"
  50. identity.service:
  51. environment:
  52. - SpaClient=http://localhost:5104
  53. - ConnectionStrings__DefaultConnection=Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word
  54. #- MvcClient=http://13.88.8.119:5100 #Remote: VM Needs to have public access at 5105.
  55. #- MvcClient=http://localhost:5100 #Local: You need a entry in windows host file to run identity in local docker.
  56. - MvcClient=http://10.0.75.1:5100 #Local: You need to open windows firewall at range 5100-5105.
  57. ports:
  58. - "5105:5105"
  59. sql.data:
  60. environment:
  61. - SA_PASSWORD=Pass@word
  62. - ACCEPT_EULA=Y
  63. ports:
  64. - "5433:1433"