Skip to content

NebraLtd/hm-gatewayrs

Repository files navigation

hm-gatewayrs: Helium gateway-rs container

This is containerized version of helium gateway-rs used by nebra hotspots.

We take the gateway-rs deb package created by Helium from their Github repo (built from the GitHub source)

Environment variables

REGION_OVERRIDE and I2C_DEVICE are used to load the correct settings for the gateway. All settings override will continue to work as documented by upstream gateway-rs.

PREVENT_START_GATEWAYRS can be set to 1 to prevent the miner from starting. This is helpful for debugging the miner manually.

GW_KEYPAIR and GW_ONBOARDING - testing use only

Whilst these environment variables can be used to override the swarm key and onboarding key respectively, it is usually best to use the SWARM_KEY_URI_OVERRIDE and ONBOARDING_KEY_URI_OVERRIDE variables that are parsed in hm-pyhelper instead as this also get picked up in diagnostics and other containers.

Mr Bump

Mr Bump is a GitHub bot we created to automate some tasks related to the miner software. This includes updating the miner to the latest GA (and tagging / releasing this update) as well as updating the necessary docker-compose.yml files.

Mr Bump is currently used in the following repos:

Pre built containers

This repo automatically builds docker containers and uploads them to two repositories for easy access:

The images are tagged using the docker long and short commit SHAs for that release. The current version deployed to miners can be found in the helium-miner-software repo.