eShopOnContainers/docker-compose.yml
Carlos Cañizares Estévez 10f3e17b55 Add Swagger to Basket Api
SQL databases with the same prefix for services
Move application tier to api tier in ordering api
2016-12-19 10:20:02 +01:00

50 lines
1004 B
YAML

#
# 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
links:
- identity.service:localhost
depends_on:
- identity.service
- basket.api
webspa:
image: eshop/webspa
depends_on:
- basket.api
- 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