netbootxyz / docker-netbootxyz

netboot.xyz docker container
https://netboot.xyz/docs/docker
162 stars 50 forks source link

Make web app port configurable. #57

Closed CompPhy closed 6 months ago

CompPhy commented 6 months ago

This PR adds WEB_APP_PORT environment variable, which is defaulted to port 3000 but can be overridden at deployment time.

Some platforms, like TrueNAS, want to bind web services to different ports; but also need to do this in the context where host networking is enabled for TFTP to work correctly. This means that services inside the container need to be more configurable on the network port binding.

antonym commented 6 months ago

Updated web app to take env variable for listening port:

https://github.com/netbootxyz/webapp/releases/tag/0.7.1