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.

74 lines
3.3 KiB

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