doods2
doods2 copied to clipboard
MQTT in docker
I cannot figure out how to use MQTT.
I have tried the quick start and it pulls the config from the repo.
I went into the docker folder, edited the Dockerfile line 5 like:
COPY config.yaml /opt/doods/config.yaml
I also created a confg.yaml in this folder.
Then I ran:
docker build -t doods2-test .
Then
docker run -it -p 8080:8080 doods2-test
At this point, it is working the the browser, but nothing seems to be happening MQTT wise.
I am publishing a message to my request_topic like so:
{
"id": "manual",
"detector_name": "default",
"preprocess": [],
"detect": {
"*": 50
},
"regions": [
{
"top": 0.1,
"left": 0.1,
"bottom": 0.9,
"right": 0.9,
"detect": {
"*": 50
},
"covers": false
}
],
"data": "A WORKING URL"
}
But there are no response messages published.