haberda / hassio_addons

hopefully useful hassio addons
56 stars 21 forks source link

Wrong IP assigned by it self #87

Open emonfejm opened 4 months ago

emonfejm commented 4 months ago

I can not change the IP address I want to use.

Your addon picked by it self dynamic IP adders instead allow to chose in config. I can change the port number but not IP. (+ export HOST_IP=172.30.33.2) Everytime I restart HA I will have to update config file with new IP address. Any reason why you chose that without option to change it?

Starting supervisor: supervisord.
+ hostname -I
+ awk {print $1}
+ export HOST_IP=172.30.33.2
+ exec setpriv --reuid=1000 --regid=1000 --init-groups --inh-caps=-cap_0,-cap_1,-cap_2,-cap_3,-cap_4,-cap_5,-cap_6,-cap_7,-cap_8,-cap_9,-cap_10,-cap_11,-cap_12,-cap_13,-cap_14,-cap_15,-cap_16,-cap_17,-cap_18,-cap_19,-cap_20,-cap_21,-cap_22,-cap_23,-cap_24,-cap_25,-cap_26,-cap_27,-cap_28,-cap_29,-cap_30,-cap_31,-cap_32,-cap_33,-cap_34,-cap_35,-cap_36,-cap_37,-cap_38,-cap_39,-cap_40 signal-cli-rest-api -signal-cli-config=/config
time="2024-07-18T20:56:20Z" level=info msg="Started Signal Messenger REST API"
haberda commented 2 months ago

Because the supervisor manages that. If you want to point to an internal docker address in the config you can use the hostname of the container, it doesn't change. That's what I use.