haugene / docker-transmission-openvpn

Docker container running Transmission torrent client with WebUI over an OpenVPN tunnel
GNU General Public License v3.0
4.12k stars 1.21k forks source link

Web GUI Authentication user/password? #1636

Closed NovaCyntax closed 3 years ago

NovaCyntax commented 3 years ago

Before creating this issue I have:

Describe your request I've configured Transmission for external monitoring via a reverse proxy. However, the GUI is not protected by a user/password. I can't seem to find an option for enabling this within the GUI, and I also haven't found a relevant environment variable within Docker. I'm almost positive that I have to be missing something, either the setting or a previous issue discussing the topic, but my quick search didn't return anything.

Contextual information I don't want my torrents to be viewed/controlled publicly without authentication, while also being able to view/control them remotely.

ilike2burnthing commented 3 years ago

Set the environment variables:

Redeploy the container.

NovaCyntax commented 3 years ago

That worked, thank you. I was previously using Deluge, and the "WEBPROXY" environment variables in this image for whatever reason had misled me.

ilike2burnthing commented 3 years ago

That's the problem with such a subpar alternative... /s

Much love to binhex 😋

hoxu commented 3 years ago

I think this should be covered in https://haugene.github.io/docker-transmission-openvpn/faq/

ilike2burnthing commented 3 years ago

@haugene ^

gregbert42 commented 3 years ago

I am sooo glad someone posted and clarified this. i just went through all the documentation and couldnt find it anywhere. thank you @NovaCyntax and @ilike2burnthing

sarvesh-lad commented 3 years ago

HI,

I know this is closed, but is there a list of all available environment variables that can be set?

Each time I have to do something, I gotta google or search under issues to find it and it is cumbersome.

ilike2burnthing commented 3 years ago

For the most part - https://haugene.github.io/docker-transmission-openvpn/config-options/ (with some other specific ones on other pages of the documentation)

The DockerEnv file has been removed, as most of these aren't needed, but if you want to see the old version - https://github.com/haugene/docker-transmission-openvpn/blob/a00ed9a38f465b65164f22437b17ef5bb8e42d4b/DockerEnv

haugene commented 3 years ago

I know this is closed, but wanted to comment as I was mentioned. @ilike2burnthing has already given all the answers here. I thought now that this could also be controlled in the WebUI and that you don't have to set the env vars, but you do. It is not possible to do that from the UI and so it should probably be in the FAQ. I agree.