-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
122 lines (112 loc) · 2.63 KB
/
docker-compose.yaml
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
version: "3.5"
services:
mqtt-fed-0:
image: guerezi/mqtt-fed
container_name: mqtt-fed-0
ports:
- '1880:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-0:1883
mqtt-fed-1:
image: guerezi/mqtt-fed
container_name: mqtt-fed-1
depends_on:
- mqtt-fed-0
ports:
- '1881:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-1:1883
mqtt-fed-2:
image: guerezi/mqtt-fed
container_name: mqtt-fed-2
depends_on:
- mqtt-fed-1
ports:
- '1882:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-2:1883
mqtt-fed-3:
image: guerezi/mqtt-fed
container_name: mqtt-fed-3
depends_on:
- mqtt-fed-2
ports:
- '1883:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-3:1883
mqtt-fed-4:
image: guerezi/mqtt-fed
container_name: mqtt-fed-4
depends_on:
- mqtt-fed-3
ports:
- '1884:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-4:1883
mqtt-fed-5:
image: guerezi/mqtt-fed
container_name: mqtt-fed-5
depends_on:
- mqtt-fed-4
ports:
- '1885:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-5:1883
mqtt-fed-6:
image: guerezi/mqtt-fed
container_name: mqtt-fed-6
depends_on:
- mqtt-fed-5
ports:
- '1886:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-6:1883
mqtt-fed-7:
image: guerezi/mqtt-fed
container_name: mqtt-fed-7
depends_on:
- mqtt-fed-6
ports:
- '1887:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-7:1883
mqtt-fed-8:
image: guerezi/mqtt-fed
container_name: mqtt-fed-8
depends_on:
- mqtt-fed-7
ports:
- '1888:1883'
build:
context: .
environment:
- TOPOLOGY_MANAGER_URL=http://topology-manager:8080
- ADVERTISED_LISTENER=tcp://mqtt-fed-8:1883
networks:
default:
name: federation
# external: true