Skip to content

Commit

Permalink
Update nebra-outdoor2 variant docker compose output (master)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 24, 2023
1 parent b9200a9 commit a9f8d55
Showing 1 changed file with 132 additions and 0 deletions.
132 changes: 132 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
version: '2'

services:

gateway-config:
image: nebraltd/hm-config:9b32cec
depends_on:
- dbus-session
- diagnostics
environment:
- FIRMWARE_VERSION=2023.02.07.0-25
- FIRMWARE_SHORT_HASH=c165b61
- 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
network_mode: host
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:2bb413e
depends_on:
- multiplexer
restart: always
privileged: true
volumes:
- pktfwdr:/var/pktfwd
- nebra:/var/nebra
environment:
- FIRMWARE_VERSION=2023.02.07.0-25
- FIRMWARE_SHORT_HASH=c165b61
labels:
io.balena.features.sysfs: 1
io.balena.features.procfs: 1

multiplexer:
image: nebraltd/hm-multiplexer:d24cdc3
restart: always
depends_on:
- helium-miner
expose:
- "1681"
labels:
io.balena.features.sysfs: 1
io.balena.features.procfs: 1
volumes:
- nebra:/var/nebra

helium-miner:
image: nebraltd/hm-miner:arm64-b7618e8
depends_on:
- dbus-session
- diagnostics
expose:
- "1680"
- "4467"
ports:
- "44158:44158/tcp"
volumes:
- miner-storage:/var/data
- miner-log:/var/log/miner
- pktfwdr:/var/pktfwd
- dbus:/session/dbus
cap_add:
- SYS_RAWIO
devices:
- /dev/i2c-7:/dev/i2c-7
restart: on-failure
environment:
- DBUS_SYSTEM_BUS_ADDRESS=unix:path=/session/dbus/session_bus_socket
- FIRMWARE_VERSION=2023.02.07.0-25
- FIRMWARE_SHORT_HASH=c165b61

diagnostics:
image: nebraltd/hm-diag:b2a6844
depends_on:
- dbus-session
environment:
- FIRMWARE_VERSION=2023.02.07.0-25
- FIRMWARE_SHORT_HASH=c165b61
- DIAGNOSTICS_VERSION=b2a6844
- DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
volumes:
- pktfwdr:/var/pktfwd
- miner-storage:/var/data
- watchdog-log:/var/watchdog
- nebra:/var/nebra
ports:
- "80:5000"
cap_add:
- SYS_RAWIO
devices:
- /dev/i2c-7:/dev/i2c-7
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/ttyUSB2:/dev/ttyUSB2
- /dev/ttyUSB3:/dev/ttyUSB3
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'

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=2023.02.07.0-25
- FIRMWARE_SHORT_HASH=c165b61

volumes:
miner-storage:
miner-log:
watchdog-log:
pktfwdr:
dbus:
nebra:

0 comments on commit a9f8d55

Please sign in to comment.