Difference between revisions of "Network/Services/dev"
From Makers Local 256
(Created page with "Running [https://github.com/makerslocal/xmlrc2rq xmlrc2rq] which sends wiki changes out over mqtt docker run -d --restart=always -p 4455:4455 makerslocal/xmlrc2rq:latest") |
m (influx and grafana) |
||
(9 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | == Docker == | |
− | docker run -d --restart=always -p 4455:4455 makerslocal/xmlrc2rq:latest | + | There are a few things running on this box. Below is a my good effort to keep track of that stuff. |
+ | === watchtower === | ||
+ | [https://github.com/CenturyLinkLabs/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 === | ||
+ | [https://github.com/makerslocal/dooblr-prod dooblr-prod] sends mqtt messages to influxdb. | ||
+ | docker run -d --name xmlrc2rq --restart=always makerslocal/dooblr-prod:latest | ||
+ | |||
+ | === xmlrc2rq === | ||
+ | [https://github.com/makerslocal/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 === | ||
+ | [https://github.com/makerslocal/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/ |
Latest revision as of 01:22, 21 August 2016
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" : "" } }