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.

70 lines
3.0 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:5101
  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 your local dev-machine firewall at range 5100-5105. at range 5100-5105.
  15. - BasketUrl=http://basket.api:5103
  16. ports:
  17. - "5100:5100"
  18. webspa:
  19. environment:
  20. - CatalogUrl=http://10.0.75.1:5101
  21. - OrderingUrl=http://10.0.75.1:5102
  22. #- IdentityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
  23. - IdentityUrl=http://10.0.75.1:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
  24. - BasketUrl=http://10.0.75.1:5103
  25. ports:
  26. - "5104:5104"
  27. basket.api:
  28. environment:
  29. - ConnectionString=basket.data
  30. #- identityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
  31. - identityUrl=http://10.0.75.1:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
  32. ports:
  33. - "5103:5103"
  34. catalog.api:
  35. environment:
  36. - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word
  37. #- ExternalCatalogBaseUrl=http://13.88.8.119:5101 #Remote: VM Needs to have public access at 5105.
  38. - ExternalCatalogBaseUrl=http://10.0.75.1:5101 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
  39. ports:
  40. - "5101:5101"
  41. ordering.api:
  42. environment:
  43. - ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
  44. #- identityUrl=http://13.88.8.119:5105 #Remote: VM Needs to have public access at 5105.
  45. - identityUrl=http://10.0.75.1:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
  46. ports:
  47. - "5102:5102"
  48. identity.service:
  49. environment:
  50. - SpaClient=http://localhost:5104
  51. - ConnectionStrings__DefaultConnection=Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word
  52. #- MvcClient=http://13.88.8.119:5100 #Remote: VM Needs to have public access at 5105.
  53. - MvcClient=http://10.0.75.1:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105.
  54. ports:
  55. - "5105:5105"
  56. sql.data:
  57. environment:
  58. - SA_PASSWORD=Pass@word
  59. - ACCEPT_EULA=Y
  60. ports:
  61. - "5433:1433"