Skip to content

LANsible/docker-zwavejs2mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zwavejs2MQTT from scratch!

Build Status Docker Pulls Docker Version Docker Size/Layers

Why not use the official container?

Mostly since the upstream container want to write where the settings are stored. I want to keep the settings in a Kubernetes configmap and that makes the folder readonly and not writable. I use a little patch to move the settings to their own location :) Also this a super small container since Zwave2js2MQTT is build as a single binary and put into a FROM scratch container. The container run as user 1000 with primary group 1000 and dailout(20) as secondary group for tty access.

Test container with docker-compose

cd examples/compose
docker-compose up

Building the container locally

You could build the container locally like this:

docker build . --tag lansible/zwavejs2mqtt:dev-amd64

Available architectures are what lansible/nexe supports: https://hub.docker.com/r/lansible/nexe/tags

Credits