I have Mosquitto and Home Assistant with docker-compose. I try to run in docker-compose, but not works. This is the error:
[MqttNet.MqttClient] Error while connecting with serve.
My docker-compose configuration:
blueriiot2mqtt:
image: lordmike/blueriiot2mqtt: latest
environment:
MQTT_Server: my server ip address
BlueRiiot_Username: my username
BlueRiiot_Password: my password
If i run with CLI using:
docker run -d -e MQTTServer=myqueue.local -e BlueRiiotUsername=myuser -e BlueRiiot__Password=mypassword lordmike/blueriiot2mqtt:latest
Hello,
First of all, thank you for your work.
I have Mosquitto and Home Assistant with docker-compose. I try to run in docker-compose, but not works. This is the error:
[MqttNet.MqttClient] Error while connecting with serve.
My docker-compose configuration:
blueriiot2mqtt: image: lordmike/blueriiot2mqtt: latest environment: MQTT_Server: my server ip address BlueRiiot_Username: my username BlueRiiot_Password: my password
If i run with CLI using:
docker run -d -e MQTTServer=myqueue.local -e BlueRiiotUsername=myuser -e BlueRiiot__Password=mypassword lordmike/blueriiot2mqtt:latest
works correctly.
Any idea about the problem in docker-compose?
Thank yo