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.

43 lines
1.0 KiB

  1. version: '2'
  2. services:
  3. webmvc:
  4. image: eshop/web:latest
  5. environment:
  6. - CatalogUrl=http://catalog.api
  7. - OrderingUrl=http://ordering.api
  8. ports:
  9. - "80:80"
  10. depends_on:
  11. - catalog.api
  12. catalog.api:
  13. image: eshop/catalog.api:latest
  14. environment:
  15. - ConnectionString=Server=catalogdata;Port=5432;Database=postgres;username=postgres
  16. expose:
  17. - "80"
  18. depends_on:
  19. - catalogdata
  20. catalogdata:
  21. image: glennc/eshopdata
  22. ordering.api:
  23. image: eshop/ordering.api:latest
  24. environment:
  25. - ConnectionString=Server=ordering.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
  26. ports:
  27. - "81:80"
  28. # (Go to Production): For secured/final deployment, remove Ports mapping and
  29. # leave just the internal expose section
  30. # expose:
  31. # - "80"
  32. extra_hosts:
  33. - "CESARDLBOOKVHD:10.0.75.1"
  34. depends_on:
  35. - ordering.data
  36. ordering.data:
  37. image: eshop/ordering.data.sqlserver.linux
  38. ports:
  39. - "1433:1433"