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.

68 lines
3.0 KiB

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