Network/Services/dev

From Makers Local 256
Jump to: navigation, search

Docker

There are a few things running on this box. Below is a my good effort to keep track of that stuff.

watchtower

watchtower checks for new images and restart the docker containers. Crazy thing is that this should auto update its self.

 docker run -d --name watchtower --restart=always -v /var/run/docker.sock:/var/run/docker.sock centurylink/watchtower

dooblr

dooblr-prod sends mqtt messages to influxdb.

 docker run -d --name  xmlrc2rq --restart=always makerslocal/dooblr-prod:latest

xmlrc2rq

xmlrc2rq sends wiki changes out over mqtt for use with redqueen.

 docker run -d --name  xmlrc2rq --restart=always -p 4455:4455/udp makerslocal/xmlrc2rq

rqirc

rqirc is a IRC-MQTT gateway for the shop.

 docker run -d --name rqirc --restart=always -e NODE_CONFIG="$(cat $PWD/rqirc_config.json)" makerslocal/rqirc:latest

Config file currently running

{
  "irc" : {
   "bot"  : {
     "debugchan"  : "##rqtest",
     "command"    : "rq"
   },
   "connection" : {
     "username"      : "RedQueen256",
     "realname"      : "RedQueen Irc Bot",
     "nick"          : "RedQueen256",
     "server"        : "irc.freenode.net",
     "port"          : 6697,
     "autoReconnect" : 15000,
     "secure"        : true,
     "floodDelay"    : 1000,
     "debug"         : false
   },
   "channels" : [
                  "#makerslocal",
                  "##rqtest"
                ]
 },
 "mqtt" : {
   "clientId"   : "rqirc",
   "protocol"   : "mqtt",
   "host"       : "iot",
   "port"       : "",
   "username"   : "",
   "password"   : ""
 }
}

InfluxDB

https://influxdata.com/

Grafana

http://grafana.org/