owntracks / talk

Questions, talk about OwnTracks
32 stars 4 forks source link

Can the docker image be started without MQTT? #122

Closed segdy closed 3 years ago

segdy commented 3 years ago

As noted here, I'd like to not use MQTT but HTTPS directly.

When I want to start the recorder via docker:

root@harbor:~# docker run -p 8083:8083 -v owntracks_store:/store owntracks/recorder
ot-recorder[12]: version 0.8.6 starting with STORAGEDIR=/store
ot-recorder[12]: connecting to MQTT on localhost:1883 as clientID ot-recorder-f5f07bd642b3-12 without TLS
Error: Address not available
root@harbor:~#

I did not find a config flag to disable MQTT. Is this possible?

segdy commented 3 years ago

FYI, despite the disadvantages listed in https://github.com/owntracks/talk/issues/121, I decided to go with MQTT. I don't need it but I feel it's just how its "meant to be used".

I will still keep this open because someone else could be interested to know.

growse commented 3 years ago

Setting OTR_PORT to 0 disables the MQTT connection for the recorder for me.