From 674eb77f562e9aeed32c419dcb22738451a17b77 Mon Sep 17 00:00:00 2001 From: hubobel Date: Fri, 9 Jan 2026 18:09:36 +0100 Subject: [PATCH] . --- influx/docker-compose.yml | 14 ++++++++++++++ mqtt/Links | 1 + mqtt/README.md | 1 + mqtt/config/mosquitto.conf | 8 ++++++++ mqtt/docker-compose.yml | 23 +++++++++++++++++++++++ mqtt/img_1.png | Bin 0 -> 1802 bytes 6 files changed, 47 insertions(+) create mode 100644 influx/docker-compose.yml create mode 100644 mqtt/Links create mode 100644 mqtt/README.md create mode 100644 mqtt/config/mosquitto.conf create mode 100644 mqtt/docker-compose.yml create mode 100644 mqtt/img_1.png diff --git a/influx/docker-compose.yml b/influx/docker-compose.yml new file mode 100644 index 0000000..e5be9a9 --- /dev/null +++ b/influx/docker-compose.yml @@ -0,0 +1,14 @@ +services: + influxdb: + image: influxdb:latest + ports: + - '8086:8086' + volumes: + - /home/christof/influx/storage/:/var/lib/influxdb + environment: + - INFLUXDB_DB=db0 + - INFLUXDB_ADMIN_USER=influx_user + - INFLUXDB_ADMIN_PASSWORD=influx_pw +networks: + default: + name: mqtt5-network \ No newline at end of file diff --git a/mqtt/Links b/mqtt/Links new file mode 100644 index 0000000..ac27399 --- /dev/null +++ b/mqtt/Links @@ -0,0 +1 @@ +https://github.com/sukesh-ak/setup-mosquitto-with-docker diff --git a/mqtt/README.md b/mqtt/README.md new file mode 100644 index 0000000..f203faf --- /dev/null +++ b/mqtt/README.md @@ -0,0 +1 @@ +![img_1.png](img_1.png) \ No newline at end of file diff --git a/mqtt/config/mosquitto.conf b/mqtt/config/mosquitto.conf new file mode 100644 index 0000000..5641be0 --- /dev/null +++ b/mqtt/config/mosquitto.conf @@ -0,0 +1,8 @@ +allow_anonymous false +listener 1883 +listener 9001 +protocol websockets +persistence true +password_file /mosquitto/config/pwfile +persistence_file mosquitto.db +persistence_location /mosquitto/data/ \ No newline at end of file diff --git a/mqtt/docker-compose.yml b/mqtt/docker-compose.yml new file mode 100644 index 0000000..d33d648 --- /dev/null +++ b/mqtt/docker-compose.yml @@ -0,0 +1,23 @@ +services: + # mqtt5 eclipse-mosquitto + mqtt5: + image: eclipse-mosquitto + container_name: mqtt5 + ports: + - "1883:1883" #default mqtt port + - "9001:9001" #default mqtt port for websockets + volumes: + - ./config:/mosquitto/config:rw + - ./data:/mosquitto/data:rw + - ./log:/mosquitto/log:rw + restart: unless-stopped + +# volumes for mapping data,config and log +volumes: + config: + data: + log: + +networks: + default: + name: mqtt5-network \ No newline at end of file diff --git a/mqtt/img_1.png b/mqtt/img_1.png new file mode 100644 index 0000000000000000000000000000000000000000..7853c091174a22c6dc99951996fe9c765f4eb881 GIT binary patch literal 1802 zcmbVNSu~po82yVGReMddt_VUVl#o(O5HiLdVpmfQjfQwLkho7W5^|oxwC26@g$-oW}2ubJJf1sD6OwC&T39 z0iiAN#23BwmQ3d+N_Oc2k0g?oF>uySJ9!on3&`1+iFj8M<#biCX=-X z|CKIGq)*RFY&088e5!#oAWLu>(m9rSe;tPo{-EKrvzZve!$e38QX22vJ%hp~pa^W}(J%%(3@vbUr0RgN)J>&2 z@iGG6mDy=0xpM5Ee+hvr2R~a?W^zzw@+nUrOht#(D9I&WgRoDA=5lt z#IPbBfH;H)u6(YM>fQAznE~1?njgKk}B4UYt_^?SI%^`_=x{EdvDp!8VKM4s?8rRxX^Asnj17-cXiTO z;a5GwK{2+b+VPyPO*S59pR0YPiG`LGG&d%tJb zjY)-l#~F^V<;kUlLj+3Gdz)R^?&3^ks}D*)uMsa@&h$(gla%<$4SFP9x+Lij%B|T3{OUAKIFxV7^WA*!Tpz>@OLm2rMr?;K+e#_ zo*bNuEF(~*zQOl6B+goJ0JG}c7IIQ%w1zLr8Wl^mTZMvyd0Q$LR|frnId}}@n8j}r zcGp-GG_w|?E&T;l5^53@W91O0m!GRDY1MHNr*weNFfu^*2%T#kk1yn5m>C(IHDq=( zd0mgfidxXf#|MfDq>D(oG@U+GJKD+R@6bTb<@{@AnMTSGW)1E&@g z=RA3M=!UHoYl7?+u;q$^KtZ4VxGb$|; z+*em!C+g>Hc=w&~r(!)U%cWwKhGCaR-Wu#}vR z!c+@}XyKk64c@cZ`h21Q^znOo+o4FczE&W{b!m2&D!G9k6B?qQ%eo|1 zNo6=&&K%}7WJP!Jy_)qpPH3psuLR4R+n`a!{l4M}@&`YEsxMrlJldVdjqn3R=+2VC zHhjs&do&V{dtt<9!g=@#o!k^I|Gtv{#pk4X077~S T^r+~?_*VmzxecPq)Fa^^eDqm( literal 0 HcmV?d00001