cloud-torrent icon indicating copy to clipboard operation
cloud-torrent copied to clipboard

cloud-torrent --help

Open hosseinc opened this issue 6 years ago • 3 comments

Hello I'm new so bear with me

I deployed cloud-torrent with docker on my vps and it works fine (it leeches torrents and stores them and all), but I want to set a password on my page (ipaddress:63000)

from what I gathered I'm suppose to do that with " --auth " command but how? when I run " cloud-torrent --help " it returns " -bash: cloud-torrent: command not found "

by the way where does Docker stores the cloud-torrent files (the engine, server, ... folders and files - not the downloaded files)

and is it possible to move cloud-torrent from ipaddress::63000 to like ipaddress/newdirectory:63000?

thanks,

hosseinc avatar Jun 08 '18 12:06 hosseinc

Here's my Docker run script for reference:

#!/bin/sh
docker run -d -p 3000:3000 --restart always \
        -v /root/downloads:/downloads \
        --name cloud-torrent jpillora/cloud-torrent \
        --auth your_username:supersecretpassword123

This will run the server using port 3000 and requires logging in using your_username with the password supersecretpassword123.

Download the script if you want: https://griko.keybase.pub/shared/others/cloud-torrent.sh

grikomsn avatar Jun 16 '18 10:06 grikomsn

thank you for your answer

is it possible to move cloud-torrent from ipaddress::3000 to a newdirectory and then the port 3000?

hosseinc avatar Jun 16 '18 20:06 hosseinc

Ports don't work on relative addresses, unless you use reverse proxy using Apache or Nginx. Here's some reference from StackOverflow:

Or you could use jwilder/nginx-proxy on your Docker environment to reverse proxy containers (domain required).

grikomsn avatar Jun 17 '18 10:06 grikomsn