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.

38 lines
839 B

  1. version: '2'
  2. services:
  3. webmvc:
  4. image: eshop/web
  5. environment:
  6. - CatalogUrl=http://catalog.api
  7. ports:
  8. - "80:80"
  9. depends_on:
  10. - catalog.api
  11. catalog.api:
  12. image: eshop/catalog.api
  13. environment:
  14. - ConnectionString=Server=catalogdata;Port=5432;Database=postgres;username=postgres
  15. expose:
  16. - "80"
  17. depends_on:
  18. - catalogdata
  19. catalogdata:
  20. image: glennc/eshopdata
  21. ordering.api:
  22. image: eshop/ordering.api
  23. environment:
  24. - ConnectionString=Server=ordering.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
  25. ports:
  26. - "81:80"
  27. extra_hosts:
  28. - "CESARDLBOOKVHD:10.0.75.1"
  29. depends_on:
  30. - ordering.data
  31. ordering.data:
  32. image: eshop/ordering.data.sqlserver.linux
  33. ports:
  34. - "1433:1433"