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:
Marko
2019-02-21 16:41:24 +01:00
committed by Maciej Hirsz
parent 71778e9450
commit dfaabac0df
4 changed files with 53 additions and 3 deletions
+2 -3
View File
@@ -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));
});