Define a default files: rclone remote in the image #91

Merged
miro merged 1 commit from claude/default-files-remote into main 2026-10-12 19:45:41 +00:00
Owner

Summary

The image now has one default rclone remote, files:, rooted at /data (the volume the compose file mounts from the host's FILES_DATA_DIR). It is an alias remote defined through RCLONE_CONFIG_FILES_* environment variables, so no rclone.conf is needed and the remote always exists.

This gives rc clients (such as @filehub/rclone) a named remote to address, and config/listremotes is never empty in the image.

Notes

  • bootstrap.mjs still serves :local:/data over WebDAV, so WebDAV behaviour is unchanged.
  • This does not start an rc server. That needs --rc flags on the rclone command in docker/bootstrap.mjs, which is a separate change.

Test plan

  • Checked on rclone 1.69.0 (the pinned version) with the same two variables: rclone listremotes returns files: and rclone lsf files: lists the folder.
  • Build the image and run rclone listremotes inside it
## Summary The image now has one default rclone remote, `files:`, rooted at `/data` (the volume the compose file mounts from the host's `FILES_DATA_DIR`). It is an `alias` remote defined through `RCLONE_CONFIG_FILES_*` environment variables, so no `rclone.conf` is needed and the remote always exists. This gives rc clients (such as `@filehub/rclone`) a named remote to address, and `config/listremotes` is never empty in the image. ## Notes - `bootstrap.mjs` still serves `:local:/data` over WebDAV, so WebDAV behaviour is unchanged. - This does not start an rc server. That needs `--rc` flags on the rclone command in `docker/bootstrap.mjs`, which is a separate change. ## Test plan - [x] Checked on rclone 1.69.0 (the pinned version) with the same two variables: `rclone listremotes` returns `files:` and `rclone lsf files:` lists the folder. - [ ] Build the image and run `rclone listremotes` inside it
Define a default files: rclone remote in the image
All checks were successful
CI / lint (pull_request) Successful in 37s
CI / typecheck (pull_request) Successful in 38s
CI / test (pull_request) Successful in 34s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 7s
CI / knip (pull_request) Successful in 39s
CI / format (pull_request) Successful in 38s
CI / build (pull_request) Successful in 39s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 4s
CI / manifest (pull_request) Has been skipped
CI / deploy-test (pull_request) Has been skipped
E2E / playwright (pull_request) Successful in 2m2s
e7fbb5f012
miro merged commit 5c342e85f5 into main 2026-10-12 19:45:41 +00:00
miro deleted branch claude/default-files-remote 2026-10-12 19:45:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miro/files!91
No description provided.