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.

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