Sign inSign up

sicnull/mastchain

By sicnull

•Updated about 18 hours ago

Image
0

27

sicnull/mastchain repository overview

⁠MastChain

Docker image for a MastChain AIS station. It runs the same AIS-catcher build as mastcontrol⁠ and uploads to https://api.mastchain.io/api/upload.

Station credentials are supplied at runtime. TOKEN and PASSWORD are joined into the USERPWD value the installer expects (TOKEN:PASSWORD). In the installer example, that is your email and the station secret:

[email protected]:station-secret

The image downloads the Debian Trixie package for the architecture it is built on (amd64, arm64, or armhf).

⁠Run

An RTL-SDR (or other supported receiver) must be available to the container.

docker run -d --name mastchain --restart unless-stopped \
  --device /dev/bus/usb:/dev/bus/usb \
  -e TOKEN='[email protected]' \
  -e PASSWORD='station-secret' \
  sicnull/mastchain

Quote PASSWORD. Station secrets often contain + and =.

⁠Options

VariableDefaultPurpose
TOKENrequiredAccount email, the part before : in USERPWD
PASSWORDrequiredStation secret, the part after : in USERPWD
INTERVAL60Seconds between uploads
UPLOAD_URLhttps://api.mastchain.io/api/uploadUpload endpoint

Arguments after the image name are passed to AIS-catcher. To open the web viewer on port 8100:

docker run -d --name mastchain --restart unless-stopped \
  --device /dev/bus/usb:/dev/bus/usb \
  -p 8100:8100 \
  -e TOKEN='[email protected]' \
  -e PASSWORD='station-secret' \
  sicnull/mastchain 

The viewer is then at http://<host>:8100.

⁠Logs

docker logs -f mastchain

Tag summary

Content type

Image

Digest

sha256:b35de6377…

Size

35 MB

Last updated

about 18 hours ago

docker pull sicnull/mastchain