I am trying to run this container using docker-compose on a remote raspberry-pi. MQTT server on a different Docker server is working and connected to HomeAssistant. I am running my MQTT server with the default 1883 port. I am able to successfully telnet to port 1883 of the MQTT server from the host pi, but am unable to get the container to connect to the MQTT server. Below is my docker-compose and the repeating section of my logs. I have tried both the allinone as well as the standalone container, both are having the same issue.
The thing I don't understand (and likely where the issue is stemming from) is why the 1883 port isn't included in any documentation since it needs external communications to my MQTT server. I've tried adding and removing this port from my docker compose with no differing results.
I am trying to run this container using docker-compose on a remote raspberry-pi. MQTT server on a different Docker server is working and connected to HomeAssistant. I am running my MQTT server with the default 1883 port. I am able to successfully telnet to port 1883 of the MQTT server from the host pi, but am unable to get the container to connect to the MQTT server. Below is my docker-compose and the repeating section of my logs. I have tried both the allinone as well as the standalone container, both are having the same issue.
The thing I don't understand (and likely where the issue is stemming from) is why the 1883 port isn't included in any documentation since it needs external communications to my MQTT server. I've tried adding and removing this port from my docker compose with no differing results.
LOGS: