In bridge mode the agent was reporting the container's 172.x address because the first non-internal interface in os.networkInterfaces() was docker0. Now honours NODE_IP, skips lo/docker*/br-*/veth*/etc, and down-ranks the 172.16-31 range so real LAN IPs win. Also exposes the detected IP on /health for the onboarding script to print. |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| index.js | ||
| package.json | ||