diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 11 insertions, 17 deletions
@@ -2,24 +2,18 @@ Documentation and source code for departmental mqtt server hosted at https://mosquitto.chem.wisc.edu. -To run: +To prepare (starting with Ubuntu 20.04) ``` -$ docker-compose up +$ apt install docker.io +$ apt install docker compose ``` -## mosquitto - -https://mosquitto.org/ - -## influxdb - -https://www.influxdata.com/ +This machine needs the following ports to be open to the campus network: +- 80 (http) +- 1883 (mqtt) +- 8086 (influxdb) -## bridge daemon - -`write_influx.py` - -move service file to /etc/systemd/system/ -`systemctl enable write-influx.service` -`systemctl start write-influx.service` -now it will run forever
\ No newline at end of file +To run: +``` +$ docker-compose up --build +```
\ No newline at end of file |