binhex / arch-sabnzbd

Docker build script for Arch Linux base with SABnzbd
GNU General Public License v3.0
10 stars 1 forks source link

container will not respect port number setting, will revert on restart #8

Open i-am-at0m opened 1 year ago

i-am-at0m commented 1 year ago

see title. When i change the container internal port for the webui, upon restart, it's back to 8080. This makes it impossible to use with the qbittorrentvpn container, since qbittorrent uses 8080 for its own webui

binhex commented 1 year ago

Yes this is by design, generally you don't want the container port changing, in this case you are in luck as qbittorent can change it's container port see env var WEBUI_PORT change that to something other than 8080 and you should be good

thezoggy commented 2 weeks ago

other maintainers set sab host to :: so it covers v4/v6, and then set the http port to 8080 with https port empty (thus both protocols are available at 8080). which simplifies things as you have just one port to worry about remapping/port forwarding/whatever.

binhex takes a different approach, sets sab host to 0.0.0.0, and then sets http to 8080, https to 8090. which may give some people more flexibility on what port to expose, but can create some extra work if you were coming from another maintainer and for example if were doing https at 8080, with binhex' youd have to swap the exposed ports to maintain that. or of course just adjust what port is used in the various places to align again