Public | Automated Build

Last pushed: a month ago
Short Description
node.js SignalK server on Alpine Linux
Full Description

About this Repo

This is the Git repo of the Docker image for signalk-server-node. See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.

Image deployment:

docker pull nohal/signalk-server-node


SignalK is an open protocol for universal marine data exchange. This image allows for trivial installation of signalk-server-node, the reference implementation in node.js.


By default the image is configured to play the sample NMEA data from file exactly the same way as when you run the nmea-from-file example mentioned in the SignalK installation instructions.
To change this behavior, create a suitable SignalK node server configuration under /etc/signalk/settings/ and edit /etc/signalk/signalk.conf to point to it. It is a good idea to mount the configuration from outside the container (see the running examples bellow).


The most trivial example

docker run -d nohal/signalk-server-node

Expose the server on local port 3333

docker run -d -p3333:3000 nohal/signalk-server-node

Mount local configuration files into the container

docker run -d -v /mydockerdata/signalk/etc:/etc/signalk nohal/signalk-server-node

The real-world example

docker run -d -p3000:3000 -v /mydockerdata/signalk/etc:/etc/signalk nohal/signalk-server-node

Docker Pull Command

Comments (1)
4 months ago

I am trying to run your docker and I get this error:

No settings/defaults.json available

return, stringToFlags(flags), mode);

Error: EACCES: permission denied, open './settings/ssl-key.pem'
at Error (native)
at Object.fs.openSync (fs.js:641:18)
at Object.fs.writeFileSync (fs.js:1347:33)
at /var/signalk-server-node-master/lib/index.js:204:10
at /var/signalk-server-node-master/node_modules/pem/lib/pem.js:370:16
at /var/signalk-server-node-master/node_modules/pem/lib/pem.js:1079:20
at /var/signalk-server-node-master/node_modules/pem/lib/pem.js:1046:9
at done (/var/signalk-server-node-master/node_modules/pem/lib/pem.js:995:21)
at ChildProcess.<anonymous> (/var/signalk-server-node-master/node_modules/pem/lib/pem.js:1010:13)
at emitTwo (events.js:106:13)

What I am doing wrong?