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