Improves a few areas for running as a Docker container:
Adds a CMD statement to the Dockerfile so that unattended docker deployments (such as through Portainer [or any 3rd party Docker manager]) don't automatically fail due to an invalid command.
Changes configHost and configPort to requestHost and requestPort and updates how these values are populated. This now permits displaying the IP address and port of the request in the web interface instead of 0.0.0.0:4470 when using FLASK_HOST=0.0.0.0.
Testing
I tested these changes by building the docker image using Portainer and deploying it to my Synology NAS
Description
Improves a few areas for running as a Docker container:
CMD
statement to the Dockerfile so that unattended docker deployments (such as through Portainer [or any 3rd party Docker manager]) don't automatically fail due to an invalid command.configHost
andconfigPort
torequestHost
andrequestPort
and updates how these values are populated. This now permits displaying the IP address and port of the request in the web interface instead of0.0.0.0:4470
when usingFLASK_HOST=0.0.0.0
.Testing
I tested these changes by building the docker image using Portainer and deploying it to my Synology NAS
Webserver view
Print success
Container