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.

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