DavidA
(David Amor)
February 6, 2020, 10:28pm
1
I'm successfully connecting to the web server in the rclone docker container. I'd like to keep the config file outside of the container. I'd also like to set a login and password for the web server, so that I don't have to paste the password from the log file each time.
Here's the relevant section of my YML file.
rclone_rclone:
image: rclone/rclone
container_name: rclone_rclone
restart: always
command: rcd --rc-web-gui --rc-addr :5572
ports:
- "5572:5572"
volumes:
- /home/jsmith/synology:/synology
- ~/.config/rclone:/config/rclone
- ~/data:/data:shared
environment:
- PHP_TZ=Europe/London
- PUID=1000
- PGID=1000
I'm pretty sure there's something wrong with the volumes, but I can't figure it out. I suspect the answer lies in the Installation for Docker section.
I have very limite docker/YML experience, but I can at least tell you that the user/pass for the webserver can be easily set via the following switches:
--rc-user test
--rc-pass test
DavidA
(David Amor)
February 6, 2020, 11:06pm
3
Ah thank you. That worked.
And I've reassigned the config folder with this in the YML.
volumes:
- /home/jsmith/docker/rclone_rclone:/config/rclone
ncw
(Nick Craig-Wood)
February 7, 2020, 10:52am
4
That looks correct for saving the config - it matches the recommendation in the install doc
C_B
(C B)
February 9, 2020, 1:54pm
5
You might consider grabbing the log file as well. You don't need them -- until you do.
DavidA
(David Amor)
February 13, 2020, 10:53am
6
Thank you. I wrote a How To in case it's useful for anyone.
system
(system)
Closed
May 13, 2020, 10:53am
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.