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.

62 lines
1.4 KiB

  1. version: '2'
  2. services:
  3. webmvc:
  4. image: eshop/web${TAG}
  5. build:
  6. context: .
  7. dockerfile: Dockerfile
  8. environment:
  9. - CatalogUrl=http://catalog.api
  10. - OrderingUrl=http://ordering.api
  11. ports:
  12. - "5100:80"
  13. depends_on:
  14. - catalog.api
  15. - identity.data
  16. catalog.api:
  17. image: eshop/catalog.api
  18. environment:
  19. - ConnectionString=Server=catalog.data;Initial Catalog=CatalogData;User Id=sa;Password=Pass@word
  20. expose:
  21. - "80"
  22. ports:
  23. - "5101:80"
  24. depends_on:
  25. - catalog.data
  26. catalog.data:
  27. image: eshop/mssql-server-private-preview
  28. environment:
  29. - SA_PASSWORD=Pass@word
  30. - ACCEPT_EULA=Y
  31. ports:
  32. - "5434:1433"
  33. ordering.api:
  34. image: eshop/ordering.api
  35. environment:
  36. - ConnectionString=Server=ordering.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
  37. ports:
  38. - "81:80"
  39. # (Go to Production): For secured/final deployment, remove Ports mapping and
  40. # leave just the internal expose section
  41. # expose:
  42. # - "80"
  43. extra_hosts:
  44. - "CESARDLBOOKVHD:10.0.75.1"
  45. depends_on:
  46. - ordering.data
  47. ordering.data:
  48. image: eshop/ordering.data.sqlserver.linux
  49. ports:
  50. - "5432:1433"
  51. identity.data:
  52. image: eshop/mssql-server-private-preview
  53. environment:
  54. - SA_PASSWORD=Pass@word
  55. - ACCEPT_EULA=Y
  56. ports:
  57. - "5433:1433"