-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
72 lines (72 loc) · 1.1 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
etcd:
extends:
file: docker-compose-local.yml
service: etcd
image: quay.io/coreos/etcd:latest
ports:
- "2379:2379"
- "2380:2380"
haproxy:
build: .
ports:
- "80:80"
- "443:443"
- "1996:1996"
environment:
- ETCD=etcd_1:2379
links:
- etcd
api1:
image: lukebond/demo-api
ports:
- "9000:9000"
environment:
- MESSAGE=api1
api2:
image: lukebond/demo-api
ports:
- "9001:9000"
environment:
- MESSAGE=api2
api3:
image: lukebond/demo-api
ports:
- "9002:9000"
environment:
- MESSAGE=api3
web1:
image: lukebond/demo-api
ports:
- "9003:9000"
environment:
- MESSAGE=web1
web2:
image: lukebond/demo-api
ports:
- "9004:9000"
environment:
- MESSAGE=web2
web3:
image: lukebond/demo-api
ports:
- "9005:9000"
environment:
- MESSAGE=web3
web4:
image: lukebond/demo-api
ports:
- "9006:9000"
environment:
- MESSAGE=web4
web5:
image: lukebond/demo-api
ports:
- "9007:9000"
environment:
- MESSAGE=web5
web6:
image: lukebond/demo-api
ports:
- "9008:9000"
environment:
- MESSAGE=web6