-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Joerg (DJ7NT) edited this page Apr 13, 2025
·
3 revisions
to run it with docker, create a docker-compose.yaml with the following content:
version: "3"
services:
liveqso:
build: https://github.com/int2001/wavelog_stream.git#dev
container_name: liveqso
volumes:
- ./config.js:/usr/src/app/config.js
restart: unless-stopped
ports:
- "127.0.0.1:8091:8000"
mosquitto:
image: eclipse-mosquitto
container_name: mosquitto
restart: unless-stopped
volumes:
- ./mosquitto/config:/mosquitto/config
- ./mosquitto/data:/mosquitto/data
- ./mosquitto/log:/mosquitto/log
ports:
- "127.0.0.1:1883:1883"
furthermore add some directories and configs for both tools:
- mosquitto:
mkdir -p ./mosquitto/config ./mosquitto/data ./mosquitto/log
- put the following content into
./mosquitto/config/mosquitto.conf
:
persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
listener 1883
allow_anonymous true
-
wavelog-stream:
- create
./config.js
from confis.js.sample
- create
-
start the stack:
docker-compose up -d
-
Don't forget to add the mosquitto-line to your wavelog-config:
$config['mqtt_server']='localhost';
You'll need a Wavelog-Version with MQTT (not before 2.0.4!). If you like to test. grab the PR