Comments (15)
There's a server there too. I just got it working with the official docker container, but yours has some additional functionality so later I'll try and get it working with that.
If you want to try it yourself, you can add the command
rcd --rc-web-gui --rc-addr :5572
which will initiate the web gui and allow other IPs to access it.
from ob_bulkstash.
Which UI, this? https://github.com/rclone/rclone-webui-react?
Can you describe more of what you looking for? Do you want this running all the time locally?
from ob_bulkstash.
No, the official one here.
I tried to achieve this with the official docket by adding the appropriate arguments and the log suggested it worked, but I was unable to connect despite making the port available.
I like the look of your container because it already allows for saving the config outside of the container.
I’d love to use rclone gui in GUI mode from other computers on my network.
from ob_bulkstash.
It is the same project. What you referenced is the CLI to initialize the project I linked to.
If you ran it, any errors? Any logs that you can share? docker logs....
? Did you do a pull or a build? Version? Did you try to exec
into the container to see if you can connect to the UI via curl? I don't have enough info to provide feedback on what you need to do.
from ob_bulkstash.
It looks like this is more of a client app, there is no server per se. This is why it spawns the browser which loads the react app. If you wanted to run it like I think you want to run it, more as the container operating as a server, then it might require running node js express to serve the app.
I will certainly give it some thought, or if anyone else wants to undertake the effort happy to accept the contribution.
from ob_bulkstash.
Thanks for your patience. Bear with me as I’m on mobile and I’m not a docker expert.
Here’s the log.
2020/02/05 22:01:41 ERROR : Failed to open Web GUI in browser: exec: "xdg-open": executable file not found in $PATH. Manually access it at: http://gui:[email protected]:5572/?login_token=Z3VpOlNZc1ZPaTVCanExSEF5dENfcWNuc3c%3D
I replaced 127.0.0.1 with my local IP but I was unable to connect.
I pulled rclone/rclone using docker compose. Didn’t consider using Curl to try and connect from within the container. Good idea.
from ob_bulkstash.
Thanks, that confirms what I expected. It wants to open a browser as if it is local
from ob_bulkstash.
Here’s a conversation I was having on the recline forum. I’d love to have the GUI running on a server.
https://forum.rclone.org/t/gui-in-official-docker-image/14103/4
from ob_bulkstash.
Thanks, that confirms what I expected. It wants to open a browser as if it is local
Agreed. But I don’t think it’s a showstopper. I think the server is running but it just can’t launch the browser, which I don’t care about.
from ob_bulkstash.
It looks like a client side app. Not seeing a server here
from ob_bulkstash.
Interesting. Can you run top
to see what process is running as the server? is it node express?
from ob_bulkstash.
To quote the author
Rclone does contain a web server, that is correct. The go standard library has an excellent web server built in and rclone uses it for lots of things!
Two things I'm looking to achieve, which feel within reach now. I'd like to be able to set a default login and password, so that I don't have to get them from the log and I'd like to store my server configs in a configs folder outside the container, which I understand yours does.
from ob_bulkstash.
Thanks for pointing that out, makes sense now how it is serving the react app.
from ob_bulkstash.
Can you share your docker run
or docker compose file you used to execute the server? It will be easier to see what you were doing and how to best proceed.
from ob_bulkstash.
Sure. I use Docker Compose and Portainer to manage my containers on a headless box. Here's the YML.
rclone_rclone:
image: rclone/rclone
container_name: rclone_rclone
restart: always
command: rcd --rc-web-gui --rc-addr :5572 --rc-user test --rc-pass test
ports:
- "5572:5572"
volumes:
- /home/user/docker/rclone_rclone:/config/rclone
environment:
- PHP_TZ=Europe/London
- PUID=1000
- PGID=1000
The web interface is then available at http://[ip-address]:5572 across my network with user and password as test.
It works really well. There are a couple of issues I'd like to resolve which are that it doesn't seem to be available outside my LAN and I'm having to build the conf file from a command line on my Mac. Oh, and I haven't worked out how to copy from my local drives using rclone. I doubt those are hard to figure out but I haven't had time to take a look.
It would be great to have a Docker container with all of those things ready to go out of the box.
from ob_bulkstash.
Related Issues (15)
- Do not run rclone command on startup, only on cron HOT 1
- crond can't see drive contents HOT 9
- docker-compose w/ crond doesn’t stay running HOT 18
- environment variable for time zone? HOT 4
- FTP support? HOT 4
- expanded ampersand in /etc/crontabs/root HOT 1
- RCLONE_CROND_SCHEDULE in docker-entrypoint.sh is not considered HOT 6
- input too short when revealing password HOT 2
- Having trouble getting image to run as Lambda function HOT 1
- Support for Secrets HOT 1
- Tagging the image per the rclone version HOT 3
- Add quiet mode for docker entrypoint HOT 4
- problem building imag HOT 1
- Suppress monit output in docker entrypoint HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ob_bulkstash.