Files
robot-shop/docker-compose.yaml

148 lines
2.7 KiB
YAML
Raw Normal View History

2018-01-10 16:31:49 +00:00
version: '3'
services:
mongodb:
build:
context: mongo
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-mongodb:${TAG}
2018-01-10 16:31:49 +00:00
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-10 16:31:49 +00:00
redis:
2018-01-19 17:24:49 +00:00
image: redis:4.0.6
2018-01-10 16:31:49 +00:00
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-26 16:01:39 +00:00
rabbitmq:
2018-01-31 10:11:58 +00:00
image: rabbitmq:3.7-management-alpine
2018-01-26 16:01:39 +00:00
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-10 16:31:49 +00:00
catalogue:
build:
context: catalogue
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-catalogue:${TAG}
2018-01-10 16:31:49 +00:00
depends_on:
- mongodb
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-10 16:31:49 +00:00
user:
build:
context: user
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-user:${TAG}
2018-01-10 16:31:49 +00:00
depends_on:
- mongodb
- redis
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-10 16:31:49 +00:00
cart:
build:
context: cart
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-cart:${TAG}
2018-01-10 16:31:49 +00:00
depends_on:
- redis
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-12 17:26:25 +00:00
mysql:
build:
2018-08-21 14:47:19 +01:00
context: mysql
image: ${REPO}/rs-mysql-db:${TAG}
2018-01-12 17:26:25 +00:00
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-10 16:31:49 +00:00
shipping:
build:
2018-08-21 14:47:19 +01:00
context: shipping
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-shipping:${TAG}
2018-01-12 17:26:25 +00:00
depends_on:
- mysql
2018-01-10 16:31:49 +00:00
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-08-21 14:47:19 +01:00
ratings:
build:
context: ratings
image: ${REPO}/rs-ratings:${TAG}
networks:
- robot-shop
depends_on:
- mysql
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-25 17:42:38 +00:00
payment:
build:
context: payment
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-payment:${TAG}
2018-01-26 16:01:39 +00:00
depends_on:
- rabbitmq
2018-01-25 17:42:38 +00:00
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-29 17:40:12 +00:00
dispatch:
build:
context: dispatch
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-dispatch:${TAG}
2018-01-29 17:40:12 +00:00
depends_on:
- rabbitmq
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-01-10 16:31:49 +00:00
web:
build:
context: web
2018-02-01 12:42:25 +00:00
image: ${REPO}/rs-web:${TAG}
2018-01-10 16:31:49 +00:00
depends_on:
- catalogue
- user
2018-01-16 17:46:34 +00:00
- shipping
2018-01-25 17:42:38 +00:00
- payment
2018-01-10 16:31:49 +00:00
ports:
- "8080:8080"
networks:
- robot-shop
2018-03-09 14:54:55 +00:00
deploy:
replicas: 1
restart_policy:
condition: on-failure
2018-02-13 16:56:45 +00:00
# Uncomment to enable Instana EUM
# environment:
# INSTANA_EUM_KEY: <your eum key here>
2018-01-10 16:31:49 +00:00
networks:
robot-shop: