This repository contains the Pyrrha solution that monitors the MQTT queue for new messages, stores them in the database, and in turn sends them to the Websocker Servers.
-
Install dependencies
npm install
-
Run server
npm start
This runs the WebSocket server using nodemon. See package.json file.
-
Build the image and optionally tag
docker build . -t ws
STEP 1: FROM docker.io/node:12-alpine STEP 2: WORKDIR / --> ce0dd4bfad1 STEP 3: COPY package*.json ./
-
Run the image
docker run --name ws ws:latest
- Please read KUBERNETES_SETUP.md for details on how to deploy using Kubernetes.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting Pyrrha pull requests.
This project is licensed under the Apache 2 License - see the LICENSE file for details.