version: '2' services: webmvc: image: eshop/web${TAG} build: context: . dockerfile: Dockerfile environment: - CatalogUrl=http://catalog.api - OrderingUrl=http://ordering.api - IdentityUrl=http://identity.service - BasketUrl=http://basket.api ports: - "5100:80" depends_on: - catalog.api - identity.service - basket.api webspa: image: eshop/webspa build: context: . dockerfile: Dockerfile environment: - CatalogUrl=http://catalog.api - OrderingUrl=http://ordering.api - IdentityUrl=http://identity.service - BasketUrl=http://basket.api ports: - "5104:80" depends_on: - catalog.api - basket.api - identity.service catalog.api: image: eshop/catalog.api environment: - ConnectionString=Server=catalog.data;Initial Catalog=CatalogData;User Id=sa;Password=Pass@word expose: - "80" ports: - "5101:80" depends_on: - catalog.data catalog.data: image: microsoft/mssql-server-linux environment: - SA_PASSWORD=Pass@word - ACCEPT_EULA=Y ports: - "5434:1433" ordering.api: image: eshop/ordering.api environment: - ConnectionString=Server=ordering.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word ports: - "5102:80" extra_hosts: - "CESARDLBOOKVHD:10.0.75.1" depends_on: - ordering.data ordering.data: image: eshop/ordering.data.sqlserver.linux ports: - "5432:1433" identity.service: image: eshop/identity environment: - Spa:http://webspa expose: - "80" ports: - "5105:80" depends_on: - identity.data identity.data: image: microsoft/mssql-server-linux environment: - SA_PASSWORD=Pass@word - ACCEPT_EULA=Y ports: - "5433:1433" basket.api: image: eshop/basket.api environment: - ConnectionString=basket.data build: context: . dockerfile: Dockerfile ports: - "5103:80" depends_on: - basket.data - identity.service basket.data: image: redis