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.

44 lines
1.1 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. - ASPNETCORE_ENVIRONMENT=Development
  27. ports:
  28. - "81:80"
  29. # (Go to Production): For secured/final deployment, remove Ports mapping and
  30. # leave just the internal expose section
  31. # expose:
  32. # - "80"
  33. extra_hosts:
  34. - "CESARDLBOOKVHD:10.0.75.1"
  35. depends_on:
  36. - ordering.data
  37. ordering.data:
  38. image: eshop/ordering.data.sqlserver.linux
  39. ports:
  40. - "1433:1433"