Slim Docker container with MStadlmeier's DriveSync
Supports running under chosen UID/GID. This container stays running and syncs every 300 seconds by default.
- Fire and forget, no cron on host or extra scripts needed
- Run on NAS to share KeePass file with all devices in network
- Run on desktop to keep files secure on Google Drive
-
(Suggested) Copy docker-compose.yml and edit as needed
-
Setup has to be done with run. After setup up is possible.
docker-compose run drivesync
-
Copy the provided URL in the browser and sign in.
-
Paste the resulting token in and press enter
-
Container starts running, CTRL+C and switch to up -d to start it in the background
docker-compose up -d
Example in Git repo
Name | Action | Required |
---|---|---|
PUID | Set User ID | Yes |
PGID | Set Group ID | Yes |
INTERVAL | Set sync interval in seconds | No |
Name | Content | Required |
---|---|---|
/sync | Content of the Google Drive | Yes, as bind mount |
/appdata | Config, manifest & credential files | Yes, as any mount |
- More user friendly for actions other than sync
- Run as root