Skip to content

Commit 605ce74

Browse files
author
Trevor Conn
authored
Merge pull request edgexfoundry#107 from OdysLam/feature_branch
Docker-Compose for Raspberry Pi-3 (arm64)
2 parents 5b08471 + 56e4675 commit 605ce74

File tree

1 file changed

+199
-0
lines changed

1 file changed

+199
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
# /*******************************************************************************
2+
# *
3+
# * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4+
# * in compliance with the License. You may obtain a copy of the License at
5+
# *
6+
# * http://www.apache.org/licenses/LICENSE-2.0
7+
# *
8+
# * Unless required by applicable law or agreed to in writing, software distributed under the License
9+
# * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
10+
# * or implied. See the License for the specific language governing permissions and limitations under
11+
# * the License.
12+
# *
13+
# * @author: Odysseas Lamtzidis
14+
# * EdgeX Foundry, Delhi, version 0.7.1
15+
# * added: Apr 26, 2019
16+
# *******************************************************************************/
17+
18+
version: '2.1'
19+
volumes:
20+
db-data:
21+
log-data:
22+
consul-config:
23+
consul-data:
24+
25+
services:
26+
27+
volume:
28+
image: edgexfoundry/docker-edgex-volume-arm64:0.8.0
29+
volumes:
30+
- db-data:/data/db
31+
- log-data:/edgex/logs
32+
- consul-config:/consul/config
33+
- consul-data:/consul/data
34+
35+
edgex-core-consul:
36+
image: consul:1.4.0
37+
ports:
38+
- "8400:8400"
39+
- "8500:8500"
40+
- "8600:8600"
41+
volumes:
42+
- db-data:/data/db
43+
- log-data:/edgex/logs
44+
- consul-config:/consul/config
45+
- consul-data:/consul/data
46+
depends_on:
47+
- volume
48+
49+
edgex-core-config-seed:
50+
image: edgexfoundry/docker-core-config-seed-go-arm64:0.7.1
51+
volumes:
52+
- db-data:/data/db
53+
- log-data:/edgex/logs
54+
- consul-config:/consul/config
55+
- consul-data:/consul/data
56+
depends_on:
57+
- volume
58+
- edgex-core-consul
59+
60+
edgex-mongo:
61+
image: edgexfoundry/docker-edgex-mongo-arm64:0.8.0
62+
ports:
63+
- "27017:27017"
64+
volumes:
65+
- db-data:/data/db
66+
- log-data:/edgex/logs
67+
- consul-config:/consul/config
68+
- consul-data:/consul/data
69+
depends_on:
70+
- volume
71+
72+
edgex-support-logging:
73+
image: edgexfoundry/docker-support-logging-go-arm64:0.7.1
74+
ports:
75+
- "48061:48061"
76+
volumes:
77+
- db-data:/data/db
78+
- log-data:/edgex/logs
79+
- consul-config:/consul/config
80+
- consul-data:/consul/data
81+
depends_on:
82+
- edgex-core-config-seed
83+
- edgex-mongo
84+
- volume
85+
86+
edgex-support-notifications:
87+
image: edgexfoundry/docker-support-notifications-go-arm64:0.7.1
88+
ports:
89+
- "48060:48060"
90+
volumes:
91+
- db-data:/data/db
92+
- log-data:/edgex/logs
93+
- consul-config:/consul/config
94+
- consul-data:/consul/data
95+
depends_on:
96+
- edgex-support-logging
97+
98+
edgex-core-metadata:
99+
image: edgexfoundry/docker-core-metadata-go-arm64:0.7.1
100+
ports:
101+
- "48081:48081"
102+
volumes:
103+
- db-data:/data/db
104+
- log-data:/edgex/logs
105+
- consul-config:/consul/config
106+
- consul-data:/consul/data
107+
depends_on:
108+
- edgex-support-logging
109+
110+
edgex-core-data:
111+
image: edgexfoundry/docker-core-data-go-arm64:0.7.1
112+
ports:
113+
- "48080:48080"
114+
- "5563:5563"
115+
volumes:
116+
- db-data:/data/db
117+
- log-data:/edgex/logs
118+
- consul-config:/consul/config
119+
- consul-data:/consul/data
120+
depends_on:
121+
- edgex-support-logging
122+
123+
edgex-core-command:
124+
image: edgexfoundry/docker-core-command-go-arm64:0.7.1
125+
ports:
126+
- "48082:48082"
127+
volumes:
128+
- db-data:/data/db
129+
- log-data:/edgex/logs
130+
- consul-config:/consul/config
131+
- consul-data:/consul/data
132+
depends_on:
133+
- edgex-support-notifications
134+
edgex-support-scheduler:
135+
image: edgexfoundry/docker-support-scheduler-go-arm64:0.7.1
136+
ports:
137+
- "48085:48085"
138+
volumes:
139+
- db-data:/data/db
140+
- log-data:/edgex/logs
141+
- consul-config:/consul/config
142+
- consul-data:/consul/data
143+
depends_on:
144+
- edgex-core-metadata
145+
146+
edgex-export-client:
147+
image: edgexfoundry/docker-export-client-go-arm64:0.7.1
148+
ports:
149+
- "48071:48071"
150+
volumes:
151+
- db-data:/data/db
152+
- log-data:/edgex/logs
153+
- consul-config:/consul/config
154+
- consul-data:/consul/data
155+
depends_on:
156+
- edgex-core-data
157+
environment:
158+
- EXPORT_CLIENT_MONGO_URL=edgex-mongo
159+
- EXPORT_CLIENT_DISTRO_HOST=export-distro
160+
- EXPORT_CLIENT_CONSUL_HOST=edgex-config-seed
161+
162+
edgex-export-distro:
163+
image: edgexfoundry/docker-export-distro-go-arm64:0.7.1
164+
ports:
165+
- "48070:48070"
166+
- "5566:5566"
167+
volumes:
168+
- db-data:/data/db
169+
- log-data:/edgex/logs
170+
- consul-config:/consul/config
171+
- consul-data:/consul/data
172+
depends_on:
173+
- edgex-export-client
174+
environment:
175+
- EXPORT_DISTRO_CLIENT_HOST=export-client
176+
- EXPORT_DISTRO_DATA_HOST=edgex-core-data
177+
- EXPORT_DISTRO_CONSUL_HOST=edgex-config-seed
178+
- EXPORT_DISTRO_MQTTS_CERT_FILE=none
179+
- EXPORT_DISTRO_MQTTS_KEY_FILE=none
180+
181+
#################################################################
182+
# Device Services
183+
#################################################################
184+
185+
device-random:
186+
image: edgexfoundry/docker-device-random-go-arm64:0.7.1
187+
ports:
188+
- "49988:49988"
189+
volumes:
190+
- db-data:/data/db
191+
- log-data:/edgex/logs
192+
- consul-config:/consul/config
193+
- consul-data:/consul/data
194+
depends_on:
195+
- edgex-core-data
196+
- edgex-core-command
197+
#
198+
199+
...

0 commit comments

Comments
 (0)