Sign inSign up

grinco/scsgate

By grinco

Updated almost 2 years ago

https://github.com/grinco/scsgate

Image
0

443

grinco/scsgate repository overview

This repository (for now) only contains an armhf build.

Run with something like:

docker run -d --restart=always --name scsgate \
          --device /dev/serial0:/dev/serial0 \
          --device /dev/ttyAMA0:/dev/ttyAMA0 \
          -v `pwd`/scsconfig:/app/scsgate/scsconfig \
          -e MQTT_USER='user' -e MQTT_PASS='password' -e MQTT_HOST='192.168.1.17:1883' \
          grinco/scsgate

Change the "user", "password" and "192.168.1.17" to whatever is appropriate for your use-case. The ttyAMA0 device might vary on your system. To check what is the actual serial device on your system run this: ls -liah /dev/serial0

Should look something like: 488 lrwxrwxrwx 1 root root 7 Oct 12 12:17 /dev/serial0 -> ttyAMA0

You can also override the command executed in the container, by prepending it at the end - for example:

docker run -d --rm --name scslog \
          --device /dev/serial0:/dev/serial0 \
          --device /dev/ttyAMA0:/dev/ttyAMA0 \
          grinco/scsgate ./scslog -v

Tag summary

Content type

Image

Digest

sha256:2f9c90755

Size

88.6 MB

Last updated

almost 2 years ago

docker pull grinco/scsgate