diff options
author | Blaise Thompson <blaise@untzag.com> | 2020-10-30 12:19:25 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2020-10-30 12:19:25 -0500 |
commit | 971a28124f70fedacd6d2eb35125d328ba87df39 (patch) | |
tree | 52bba448fe4e7fcc24f75eedf194d23356204528 /README.md | |
parent | ad814c9b0c9830bbb09e5935d762898be79c22d9 (diff) |
compose version 3.3
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 |