This commit is contained in:
hubobel 2026-01-09 18:09:36 +01:00
parent c8ca14ad64
commit 674eb77f56
6 changed files with 47 additions and 0 deletions

14
influx/docker-compose.yml Normal file
View file

@ -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

1
mqtt/Links Normal file
View file

@ -0,0 +1 @@
https://github.com/sukesh-ak/setup-mosquitto-with-docker

1
mqtt/README.md Normal file
View file

@ -0,0 +1 @@
![img_1.png](img_1.png)

View file

@ -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/

23
mqtt/docker-compose.yml Normal file
View file

@ -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

BIN
mqtt/img_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB