Closed emrekardaslar closed 2 years ago
Hi @emrekardaslar, please, send your Docker file and/or command you run it. Also, send the config file of the connector. Thanks for your interest in ThingsBoard IoT Gateway!
Actually, the docker file is the same as the existing one (https://github.com/thingsboard/thingsboard-gateway/blob/master/docker/Dockerfile)
I tried to run several commands:
I used MQTT config as: { "broker": { "port": 1883, "host": "127.0.0.1", "maxMessageNumberPerWorker": 20, "maxNumberOfWorkers": 200 }, "mapping": [ .....}
I know that I can reach 127.0.0.1 using host.docker.internal, I want to use different IPs.
Thanks for replying!
Describe the issue I created a docker image and set the options to make configurations outside the container following your instructions. I want to access a port that is accessible by the host machine. How can I do that? For example: In tb_gateway.yaml, I want to enter an IP which is accessible from the host machine, how can I do that? I know it is more of a Docker question but if you can help me it would be great! Thank you.
Versions (please complete the following information):