.
This commit is contained in:
parent
c8ca14ad64
commit
674eb77f56
6 changed files with 47 additions and 0 deletions
14
influx/docker-compose.yml
Normal file
14
influx/docker-compose.yml
Normal 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
1
mqtt/Links
Normal file
|
|
@ -0,0 +1 @@
|
|||
https://github.com/sukesh-ak/setup-mosquitto-with-docker
|
||||
1
mqtt/README.md
Normal file
1
mqtt/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||

|
||||
8
mqtt/config/mosquitto.conf
Normal file
8
mqtt/config/mosquitto.conf
Normal 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
23
mqtt/docker-compose.yml
Normal 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
BIN
mqtt/img_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue