mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-30 19:21:08 +00:00
Created a Dockerfile & docker-compose so theres no need to run in separate terminals (#111)
* docker file & docker-compose * Readme & spelling corretions * undoing formatOnSave changes * more changes to readme
This commit is contained in:
@@ -3,8 +3,8 @@ import Node from './Node';
|
||||
import Feed from './Feed';
|
||||
import Aggregator from './Aggregator';
|
||||
|
||||
const WS_PORT_TELEMETRY_SERVER = 1024;
|
||||
const WS_PORT_FEED_SERVER = 8080;
|
||||
const WS_PORT_TELEMETRY_SERVER = process.env.TELEMETRY_SERVER || 1024;
|
||||
const WS_PORT_FEED_SERVER = process.env.FEED_SERVER || 8080;
|
||||
|
||||
const aggregator = new Aggregator();
|
||||
|
||||
@@ -47,4 +47,3 @@ logClients();
|
||||
telemetryFeed.on('connection', (socket: WebSocket) => {
|
||||
aggregator.addFeed(new Feed(socket));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user