forked from ryanjbaxter/spring-cloud-k8s-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
87 lines (79 loc) · 1.74 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
version: '3'
services:
docker-base-image:
build: docker-base-image/
image: docker-base-image
chaostoolkit:
container_name: chaostoolkit
build: chaostoolkit-base/
tty: true
depends_on:
- docker-base-image
chaoshub:
image: chaostoolkit/chaoshub:0.1.2
container_name: chaoshub
ports:
- "8888:8080"
tty: true
depends_on:
- docker-base-image
api-gateway:
container_name: api-gateway
image: api-gateway
# need NET_ADMIN to run chaos linux experiments
cap_add:
- NET_ADMIN
ports:
- "8080:8080"
volumes:
- ./chaos-scripts:/var/chaosscripts
depends_on:
- docker-base-image
fashion:
container_name: fashion
image: bestseller-fashion
# need NET_ADMIN to run chaos linux experiments
cap_add:
- NET_ADMIN
ports:
- "8082:8082"
volumes:
- ./chaos-scripts:/var/chaosscripts
depends_on:
- docker-base-image
toys:
image: bestseller-toys
container_name: toys
# need NET_ADMIN to run chaos linux experiments
cap_add:
- NET_ADMIN
ports:
- "8081:8081"
volumes:
- ./chaos-scripts:/var/chaosscripts
depends_on:
- docker-base-image
hot-deals:
image: hot-deals
container_name: hot-deals
# need NET_ADMIN to run chaos linux experiments
cap_add:
- NET_ADMIN
ports:
- "8083:8083"
volumes:
- ./chaos-scripts:/var/chaosscripts
depends_on:
- docker-base-image
eureka-server:
image: eureka-server
container_name: eureka-server
# need NET_ADMIN to run chaos linux experiments
cap_add:
- NET_ADMIN
ports:
- "8761:8761"
volumes:
- ./chaos-scripts:/var/chaosscripts
depends_on:
- docker-base-image