-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
105 lines (104 loc) · 1.84 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
94
95
96
97
98
99
100
101
102
103
104
105
version: '2'
services:
node1:
build: ./cmd/fluxd
hostname: node1
entrypoint: fluxd -hashfn=md5
expose:
- "8080"
- "7946"
ports:
- "3001:8080"
node2:
build: ./cmd/fluxd
hostname: node2
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node3:
build: ./cmd/fluxd
hostname: node3
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node4:
build: ./cmd/fluxd
hostname: node4
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node5:
build: ./cmd/fluxd
hostname: node5
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node6:
build: ./cmd/fluxd
hostname: node6
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node7:
build: ./cmd/fluxd
hostname: node7
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node8:
build: ./cmd/fluxd
hostname: node8
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node9:
build: ./cmd/fluxd
hostname: node9
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
node10:
build: ./cmd/fluxd
hostname: node10
entrypoint: fluxd -hashfn=md5 -join=node1
expose:
- "8080"
- "7946"
links:
- node1
client:
build: ./cmd/flux
entrypoint: flux -server=node1
ports:
- "3000:80"
links:
- node1
test:
build: test
entrypoint: /run.sh http://node1:8080 0.5
links:
- node1