Docker-compose.yml start rclone mount and webgui at docker starts

What is the problem you are having with rclone?

I am using docker-compose to control the rclone docker, and with the following command I could start the docker and automatically mount the Google Drive with rclone, but I was unable find a proper way to automatically start "rclone mount" and start rclone gui simultaneously.

I already try some common methods to run multiple command at docker-compose, but they don't work with rclone

(Also would wonder if it is possible to mount multiple cloud storage at the same docker)

What is your rclone version (output from rclone version)

rclone v1.52.3

  • os/arch: linux/amd64
  • go version: go1.14.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux (Ubuntu) docker

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

command: mount googledrive:/ /home/googledrive --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /logs/mount-googledrive.log --poll-interval 15s --rc --rc-addr :5572 --stats 0 --timeout 1h --use-mmap

The rclone config contents with secrets removed.

My rclone config works normally and able to mount the Google Drive

A log from the command with the -vv flag

Paste  log here

I'm afraid I can't help you with docker-compose - I don't know very much about it.

Yes it is possible, but you have to use the rc api to start them off.

If you want to pass parameters to the mount you'll need the latest beta

See also

For how to pass the params

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.