Heya browki (another member here)
below is one of the ways i use blomp, this is not officially supported by Blomp but they do allow use of any 3rd party tools.
so try my configuration for rclone works like a charm:
rclone.conf file:
- replace EMAIL_HERE for your email you use at blomp to sign in with (2 locations in config)
- replace VALIDATION_PASSWORD_HERE with the password you use at blomp to sign in. (1 location in config)
- replace ENCRYPTION_PASSWORD_HERE with a custom password like "DH4i7VBhkJyN7gPGRZkEkXFG9yR2J2" to encrypt all data on blomp servers (dont use special char like !@#$%^&*() etc).
- note that i have 2 auth URL's you can test what works best for you, note that you can only clarify 1 auth URL
[blomp]
type = swift
user = EMAIL_HERE
key = VALIDATION_PASSWORD_HERE
auth =
https://authenticate.blomp.com
#auth =
https://authenticate.ain.net
tenant = storage
auth_version = 2
endpoint_type = public
leave_parts_on_error = true
chunk_size = 1P
no_chunk = false
[blomp_encrypted]
type = crypt
remote = blomp:EMAIL_HERE
password = ENCRYPTION_PASSWORD_HERE
next the command you would use on linux to mount:
- for windows just add .exe and save it as mount.cmd in the same folder as rclone.exe
- adjust the limits in the command to fit your needs and speeds, i dont recommend 128 transfers if you have slow network (i have 50GB fiber).
- replace LOCAL_PATH_HERE with a path to a empty folder where you want to mount blomp at.
Code: Select all
rclone mount blomp_encrypted: LOCAL_PATH_HERE --config rclone_config.conf --vfs-cache-mode writes --dir-cache-time 1h --vfs-cache-poll-interval 30s --vfs-read-chunk-size 1G --vfs-read-chunk-size-limit 50G --no-checksum --transfers 128
if you are like me you can install a plugin for portainer BE (you can get a free portainer license if you use it for home).
Code: Select all
https://github.com/sapk/docker-volume-rclone
in your docker-copose file you would have something like this at the bottum of your docker-compose.yml file:
Code: Select all
volumes:
union:
driver: sapk/plugin-rclone:latest
driver_opts:
args: "--use-mmap --allow-other --allow-non-empty --no-modtime --umask=0 --transfers=32"
remote: "union_organized:"
config: "BASE64_STRING_OF_YOUR_CONFIG_FILE"
quick way to encode your file:
of do it via command line like so:
Code: Select all
base64 rclone.conf > rcloneencrypted.conf
cat rcloneencrypted.conf
then simply copy the entire string that looks something like this:
Code: Select all
TG9yZW0gSXBzdW0gaXMgc2ltcGx5IGR1bW15IHRleHQgb2YgdGhlIHByaW50aW5nIGFuZCB0eXBlc2V0dGluZyBpbmR1c3RyeS4gTG9yZW0gSXBzdW0gaGFzIGJlZW4gdGhlIGluZHVzdHJ5J3Mgc3RhbmRhcmQgZHVtbXkgdGV4dCBldmVyIHNpbmNlIHRoZSAxNTAwcywgd2hlbiBhbiB1bmtub3duIHByaW50ZXIgdG9vayBhIGdhbGxleSBvZiB0eXBlIGFuZCBzY3JhbWJsZWQgaXQgdG8gbWFrZSBhIHR5cGUgc3BlY2ltZW4gYm9vay4gSXQgaGFzIHN1cnZpdmVkIG5vdCBvbmx5IGZpdmUgY2VudHVyaWVzLCBidXQgYWxzbyB0aGUgbGVhcCBpbnRvIGVsZWN0cm9uaWMgdHlwZXNldHRpbmcsIHJlbWFpbmluZyBlc3NlbnRpYWxseSB1bmNoYW5nZWQuIEl0IHdhcyBwb3B1bGFyaXNlZCBpbiB0aGUgMTk2MHMgd2l0aCB0aGUgcmVsZWFzZSBvZiBMZXRyYXNldCBzaGVldHMgY29udGFpbmluZyBMb3JlbSBJcHN1bSBwYXNzYWdlcywgYW5kIG1vcmUgcmVjZW50bHkgd2l0aCBkZXNrdG9wIHB1Ymxpc2hpbmcgc29mdHdhcmUgbGlrZSBBbGR1cyBQYWdlTWFrZXIgaW5jbHVkaW5nIHZlcnNpb25zIG9mIExvcmVtIElwc3VtLg==
now paste that at the place where it says: BASE64_STRING_OF_YOUR_CONFIG_FILE
This is an example of how your docker compose file should look with rclone mount inside of the container:
Code: Select all
version: "2.1"
services:
opera:
image: ubuntu_orsomething
container_name: ubuntu
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- blomp:/PATH_INSIDE_YOUR_CONTAINER_TO_MOUNT_TO
ports:
- 80:80
restart: unless-stopped
blomp:
driver: sapk/plugin-rclone:latest
driver_opts:
args: "--use-mmap --allow-other --allow-non-empty --no-modtime --umask=0 --transfers=32"
remote: "blomp_encrypted:"
config: "TG9yZW0gSXBzdW0gaXMgc2ltcGx5IGR1bW15IHRleHQgb2YgdGhlIHByaW50aW5nIGFuZCB0eXBlc2V0dGluZyBpbmR1c3RyeS4gTG9yZW0gSXBzdW0gaGFzIGJlZW4gdGhlIGluZHVzdHJ5J3Mgc3RhbmRhcmQgZHVtbXkgdGV4dCBldmVyIHNpbmNlIHRoZSAxNTAwcywgd2hlbiBhbiB1bmtub3duIHByaW50ZXIgdG9vayBhIGdhbGxleSBvZiB0eXBlIGFuZCBzY3JhbWJsZWQgaXQgdG8gbWFrZSBhIHR5cGUgc3BlY2ltZW4gYm9vay4gSXQgaGFzIHN1cnZpdmVkIG5vdCBvbmx5IGZpdmUgY2VudHVyaWVzLCBidXQgYWxzbyB0aGUgbGVhcCBpbnRvIGVsZWN0cm9uaWMgdHlwZXNldHRpbmcsIHJlbWFpbmluZyBlc3NlbnRpYWxseSB1bmNoYW5nZWQuIEl0IHdhcyBwb3B1bGFyaXNlZCBpbiB0aGUgMTk2MHMgd2l0aCB0aGUgcmVsZWFzZSBvZiBMZXRyYXNldCBzaGVldHMgY29udGFpbmluZyBMb3JlbSBJcHN1bSBwYXNzYWdlcywgYW5kIG1vcmUgcmVjZW50bHkgd2l0aCBkZXNrdG9wIHB1Ymxpc2hpbmcgc29mdHdhcmUgbGlrZSBBbGR1cyBQYWdlTWFrZXIgaW5jbHVkaW5nIHZlcnNpb25zIG9mIExvcmVtIElwc3VtLg=="
if you have any questions just let me know.
Enjoy!