Configure mqtt host ip and api host ip in local development environment configuration

When configuring a development environment for a FarmBot on my computer, how do I set the MQTT_HOST and API_HOST IP settings?

Should I add the static IP of docker to docker-compose?

@soungno You need to use an IP address that is accessible from anywhere within your LAN because these IPs will be accessed not only by docker, but also a web browser and a device (which might not be on the same machine as the server).

This means that you can’t use things like, localhost, etc…

1 Like