2016-12-15 14:35:35 -08:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
2016-09-14 08:35:34 -07:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
2016-12-19 10:20:02 +01:00
|
|
|
webmvc:
|
|
|
|
image: eshop/web
|
|
|
|
depends_on:
|
|
|
|
- identity.service
|
|
|
|
- basket.api
|
2016-09-14 21:37:48 -07:00
|
|
|
|
2016-11-17 10:34:10 +01:00
|
|
|
webspa:
|
|
|
|
image: eshop/webspa
|
|
|
|
depends_on:
|
|
|
|
- basket.api
|
2016-11-24 15:31:33 +01:00
|
|
|
- identity.service
|
2016-11-17 10:34:10 +01:00
|
|
|
|
2016-12-07 13:57:31 +01:00
|
|
|
basket.api:
|
|
|
|
image: eshop/basket.api
|
|
|
|
depends_on:
|
|
|
|
- basket.data
|
|
|
|
- identity.service
|
|
|
|
|
2016-09-14 08:35:34 -07:00
|
|
|
catalog.api:
|
2016-11-15 09:59:59 +01:00
|
|
|
image: eshop/catalog.api
|
2016-09-14 08:35:34 -07:00
|
|
|
depends_on:
|
2016-12-17 14:41:16 +01:00
|
|
|
- sql.data
|
2016-09-14 21:37:48 -07:00
|
|
|
|
2016-12-19 10:20:02 +01:00
|
|
|
ordering.api:
|
|
|
|
image: eshop/ordering.api
|
|
|
|
depends_on:
|
|
|
|
- sql.data
|
2016-10-05 17:04:35 -07:00
|
|
|
|
2016-12-15 14:35:35 -08:00
|
|
|
identity.service:
|
|
|
|
image: eshop/identity
|
|
|
|
depends_on:
|
2016-12-17 14:41:16 +01:00
|
|
|
- sql.data
|
2016-12-15 14:35:35 -08:00
|
|
|
|
2016-12-17 14:41:16 +01:00
|
|
|
sql.data:
|
2016-11-28 12:58:51 +01:00
|
|
|
image: microsoft/mssql-server-linux
|
2016-12-15 14:35:35 -08:00
|
|
|
|
|
|
|
basket.data:
|
|
|
|
image: redis
|
2016-12-22 18:34:57 +01:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|