mirror of
https://github.com/nicotsx/zerobyte.git
synced 2025-12-23 21:47:47 -05:00
823 B
823 B
Mount an rclone config (for rclone repositories)
This example shows how to make an existing rclone configuration available inside the Zerobyte container.
Use this if you want to use rclone as a repository backend (Dropbox/Google Drive/OneDrive/etc.).
Prerequisites
- Docker + Docker Compose
- An existing rclone config directory on the Docker host
If you don't have one yet:
rclone config
Setup
- Copy the env file:
cp .env.example .env
-
Edit
.envand setRCLONE_CONFIG_DIRto the absolute path of your host rclone config directory. -
Start the stack:
docker compose up -d
Access
- UI/API:
http://<host>:4096
Notes
- This setup does not require
SYS_ADMINor/dev/fuse. - The rclone config is mounted read-only into
/root/.config/rclone.