eShopOnContainers/docker-compose.yml

50 lines
989 B
YAML
Raw Normal View History

#
# docker-compose.yml is used to set up the base config per container to be deployed
# Take into account that when deploying, this base configuration is merged with the
# configuration-per-environment specified at the docker-compose.override.yml
# Further details and docs: https://docs.docker.com/compose/extends/
#
version: '2'
services:
webmvc:
image: eshop/web
depends_on:
- identity.service
- basket.api
webspa:
image: eshop/webspa
depends_on:
- basket.api
2016-11-24 15:31:33 +01:00
- identity.service
basket.api:
image: eshop/basket.api
depends_on:
- basket.data
- identity.service
catalog.api:
image: eshop/catalog.api
depends_on:
- sql.data
ordering.api:
image: eshop/ordering.api
depends_on:
- sql.data
identity.service:
image: eshop/identity
depends_on:
- sql.data
sql.data:
image: microsoft/mssql-server-linux
basket.data:
image: redis
ports:
- "6379:6379"