-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
127 lines (119 loc) · 2.95 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
version: '2'
services:
gateway-config:
image: nebraltd/hm-config:arm64-d62188e
depends_on:
- dbus-session
- helium-miner
- diagnostics
environment:
- FIRMWARE_VERSION=v1.3.5
- FIRMWARE_SHORT_HASH=7d24221
- DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
- DBUS_SESSION_BUS_ADDRESS=unix:path=/session/dbus/session_bus_socket
restart: on-failure
privileged: true
cap_add:
- NET_ADMIN
volumes:
- miner-storage:/var/data
- dbus:/session/dbus
- nebra:/var/nebra
labels:
io.balena.features.sysfs: 1
io.balena.features.kernel-modules: 1
io.balena.features.dbus: 1
stop_signal: SIGINT
packet-forwarder:
image: nebraltd/hm-pktfwd:6b52278
depends_on:
- multiplexer
restart: always
privileged: true
volumes:
- pktfwdr:/var/pktfwd
- nebra:/var/nebra
environment:
- FIRMWARE_VERSION=v1.3.5
- FIRMWARE_SHORT_HASH=7d24221
labels:
io.balena.features.sysfs: 1
io.balena.features.procfs: 1
multiplexer:
image: nebraltd/hm-multiplexer:61cf9d7
restart: always
depends_on:
- helium-miner
labels:
io.balena.features.sysfs: 1
io.balena.features.procfs: 1
volumes:
- nebra:/var/nebra
environment:
- FIRMWARE_VERSION=v1.3.5
- FIRMWARE_SHORT_HASH=7d24221
expose:
- "1681"
helium-miner:
image: nebraltd/hm-gatewayrs:arm64-5428419
depends_on:
- diagnostics
cap_add:
- SYS_RAWIO
privileged: true
restart: always
expose:
- "1680"
- "4467"
environment:
- FIRMWARE_VERSION=v1.3.5
- FIRMWARE_SHORT_HASH=7d24221
volumes:
- pktfwdr:/var/pktfwd
- miner-storage:/var/data
- nebra:/var/nebra
diagnostics:
image: nebraltd/hm-diag:arm64-81fccde
depends_on:
- dbus-session
environment:
- FIRMWARE_VERSION=v1.3.5
- FIRMWARE_SHORT_HASH=7d24221
- DIAGNOSTICS_VERSION=81fccde
- DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
- GATEWAYRS_VERSION=5428419
- CONFIG_VERSION=d62188e
- PKTFWD_VERSION=6b52278
- MULTIPLEXER_VERSION=61cf9d7
volumes:
- pktfwdr:/var/pktfwd
- miner-storage:/var/data
- watchdog-log:/var/watchdog
- nebra:/var/nebra
ports:
- "80:80"
cap_add:
- SYS_RAWIO
restart: always
privileged: true
labels:
io.balena.features.sysfs: 1
io.balena.features.procfs: 1
io.balena.features.dbus: 1
io.balena.features.supervisor-api: 1
io.balena.features.balena-api: 1
dbus-session:
image: balenablocks/dbus:rpi-0.0.2
restart: always
volumes:
- dbus:/session/dbus
environment:
- DBUS_ADDRESS=unix:path=/session/dbus/session_bus_socket
- FIRMWARE_VERSION=v1.3.3
- FIRMWARE_SHORT_HASH=7d24221
volumes:
miner-storage:
pktfwdr:
dbus:
nebra:
watchdog-log: