Define a default files: rclone remote in the image #91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/default-files-remote"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The image now has one default rclone remote,
files:, rooted at/data(the volume the compose file mounts from the host'sFILES_DATA_DIR). It is analiasremote defined throughRCLONE_CONFIG_FILES_*environment variables, so norclone.confis needed and the remote always exists.This gives rc clients (such as
@filehub/rclone) a named remote to address, andconfig/listremotesis never empty in the image.Notes
bootstrap.mjsstill serves:local:/dataover WebDAV, so WebDAV behaviour is unchanged.--rcflags on the rclone command indocker/bootstrap.mjs, which is a separate change.Test plan
rclone listremotesreturnsfiles:andrclone lsf files:lists the folder.rclone listremotesinside it