neeo-sdk icon indicating copy to clipboard operation
neeo-sdk copied to clipboard

BaseURL (or IP Address) as ENV Variable

Open splattner opened this issue 5 years ago • 0 comments

I have to create an other Issue with the BaseURL (#58 is similar).

I wanna use a Custome Device built with the NEEO SDK (0.51.13) in a Docker Container. Setting the BRAINIP works via ENV Variable, but the IP Address used for the baseURL is just the first non internal IPV4 Adress found. On my System (running Docker with network host) this is vboxnet0 and therefore I have the wrong IP Address. You should allow the baseURL (or just the IP Address) to be set via ENV. I don't wanna set sdkOptions or similar in the package.json as this could change depending on the Environment the Container runs.

splattner avatar Dec 30 '18 12:12 splattner