forked from udbc/front-end
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
93 lines (92 loc) · 2.06 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '2'
services:
edge-router:
image: weaveworksdemos/edge-router
ports:
- '80:80'
hostname: edge-router
restart: always
environment:
- reschedule:on-node-failure
catalogue:
image: weaveworksdemos/catalogue
hostname: catalogue
restart: always
environment:
- reschedule:on-node-failure
catalogue-db:
image: weaveworksdemos/catalogue-db
hostname: catalogue-db
restart: always
environment:
- MYSQL_ROOT_PASSWORD=""
- MYSQL_ALLOW_EMPTY_PASSWORD=true
- MYSQL_DATABASE=socksdb
carts:
image: weaveworksdemos/carts
hostname: carts
restart: always
environment:
- reschedule:on-node-failure
carts-db:
image: mongo
hostname: carts-db
restart: always
environment:
- reschedule:on-node-failure
orders:
image: weaveworksdemos/orders
hostname: orders
restart: always
environment:
- reschedule:on-node-failure
orders-db:
image: mongo
hostname: orders-db
restart: always
environment:
- reschedule:on-node-failure
shipping:
image: weaveworksdemos/shipping
hostname: shipping
restart: always
environment:
- reschedule:on-node-failure
queue-master:
image: weaveworksdemos/queue-master
hostname: queue-master
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
environment:
- reschedule:on-node-failure
rabbitmq:
image: rabbitmq:3
hostname: rabbitmq
restart: always
environment:
- reschedule:on-node-failure
payment:
image: weaveworksdemos/payment
hostname: payment
restart: always
environment:
- reschedule:on-node-failure
entrypoint:
- /app
command:
- -port=80
- -decline=999
user:
image: weaveworksdemos/user
hostname: user
restart: always
environment:
- MONGO_HOST=user-db:27017
- reschedule=on-node-failure
user-db:
image: weaveworksdemos/user-db
hostname: user-db
restart: always
environment:
- reschedule=on-node-failure