Lightweight, file based relay server
Node Relay requires Node.js and NPM to be installed locally.
git clone https://github.com/TheConnMan/Node-Relay.git
cd Node-Relay
npm install
bower install
node index.js
Then access the API at http://localhost:3000.
Node Relay can also be run with Docker with the following commands:
docker run -d -p 80:3000 --name relay -e API_KEY=secret-key theconnman/relay
or built locally with:
docker build -t theconnman/relay .
then run with the same command as above.
By default the volume /usr/data
is used to persist messages. You can migrate this volume to a new Docker container by using the --volumes-from [old-container-name]
flag on the new container.