rommapp / romm

A beautiful, powerful, self-hosted rom manager
https://romm.app
GNU Affero General Public License v3.0
1.9k stars 87 forks source link

[Feature] Change Web UI port #611

Open gantoine opened 8 months ago

gantoine commented 8 months ago
Originally posted by **Budlyte** January 17, 2024 Is it possible in the config to change from port 8080, on the container side? If routing through a VPN container, qbittorrent already uses 8080. Or could the main build be changed to use a different port by default?

@Budlyte: I'm using binhex-qbittorrentvpn, looks like it works the same way as gluetun, but we're stuck using the port of the container.

gantoine commented 8 months ago

Not possible at the moment, and likely not an option we're going to add any time soon (due to technical challenges).

@zurdi15 we could always change the port to something random in the future.

bricas commented 8 months ago

As a way forward, can you just change the qbittorrent port with the WEBUI_PORT env var?

Budlyte commented 8 months ago

As a way forward, can you just change the qbittorrent port with the WEBUI_PORT env var?

Maybe it's just my instance, but the app doesn't like that and restarts, putting 8080 back in the config.

Casuallynoted commented 8 months ago

As a way forward, can you just change the qbittorrent port with the WEBUI_PORT env var?

Maybe it's just my instance, but the app doesn't like that and restarts, putting 8080 back in the config.

That's really odd, what platform are you currently running the Qbittorrent container on? I'm currently using Docker with kubernetes and have been able to change it via env and it's taken but goodness knows I know some platforms have some oddities haha

Budlyte commented 8 months ago

Unraid

Tried just changing it directly in the config file and the option in the UI, which also updates the config file. Still it just locks up, then restarts with 8080

I think just using a port that isn't already in use by a popular application would be best anyway.

Jinorex commented 8 months ago

@Budlyte if your using unraid there shouldn't be a problem with changing the port. I tried changing 8080 to 8085 and it works fine. But i'm not using the available Unraid Community App.

Quick look at the unraid app and the default Port is 8091 and not 8080. So changing the port shouldn't be a problem. image

Eurotimmy commented 8 months ago

Hey @Budlyte, just confirming I use 8091 successfully in the Unraid CA template.

Budlyte commented 8 months ago

@Budlyte if your using unraid there shouldn't be a problem with changing the port. I tried changing 8080 to 8085 and it works fine. But i'm not using the available Unraid Community App.

Quick look at the unraid app and the default Port is 8091 and not 8080. So changing the port shouldn't be a problem. image

Hey @Budlyte, just confirming I use 8091 successfully in the Unraid CA template.

Yeah, guys you're correct, you can change the host port without issue. This is basic container management and has nothing to do with the web server port (8080) that RomM itself is built to use.

Please re-read the original post - this issue is with routing Romm through another container that hosts a VPN. If already using QB, a very popular bittorrent application which also uses port 8080, then the user has to choose one or the other.

If messing around in Unraid, try a configuration like what I did with Deemix here. It's network access is through my Binhex-QB container, which hosts my VPN. And so Deemix, on port 6595, is accessed through that QB/VPN container. I could change the host side (right side) port all I want, but port 6595 still has to exist on the container side (left side).

image *Updated a less confusing picture

lsaranto commented 5 months ago

I'm running RomM on a dedicated IP. Having the port on 8080 is a bit pointless. Is it not possible to make the port configurable by an environment variable?

Budlyte commented 5 months ago

I'm running RomM on a dedicated IP. Having the port on 8080 is a bit pointless. Is it not possible to make the port configurable by an environment variable?

You're not rubbing in docker?

lsaranto commented 5 months ago

Yes, it's in docker. But it has a dedicated IP for easy access and (later) secure guest access.