/scan inside the container. To back up more than one location, add one volume entry per folder. Your files stay where they are on your computer, including on other drives.
Each entry has the form:
"D:/Projects:/scan/projects" makes D:\Projects appear as /scan/projects in Edge. Use forward slashes in Compose, including for Windows paths.
Set it up
1
Open docker-compose.yml
Find the
volumes: section under the edge service.2
Replace the single-folder entry
Remove this line:and add one entry per folder in its place. Give each a different name under Keep the other volume entries unchanged. The example Compose file includes these lines as comments; remove the
/scan:docker-compose.yml
# to activate them.On Linux, use paths such as "/home/alice:/scan/main" and "/mnt/data/projects:/scan/projects".3
Update .env
Remove
SCAN_DIR from .env, since the entries above now name the folders directly. If you set SCAN_ROOT, keep it at /scan.4
Recreate the container
From the folder with the Compose file:
5
Choose what to back up
Refresh Edge’s UI. The folder browser now shows:Create jobs for the folders you want. See Backup jobs.
Add another drive later
Add another line to the samevolumes section, recreate the container, refresh Edge, and create a job for the new folder:
Things to know
- Job names must be unique across all mounted folders. The
mainandprojectslabels don’t separate same-named jobs on Central, so use names likemain-photosandprojects-photos. - Mounts need write access for Edge to save markers and restore files.
- Max Depth counts the extra level. The
/scan/<name>folders add one level, so raise Max Depth in settings if your markers are deep. - Moving an existing folder under a new mount? Keep its job name so it continues its history on Central. Edge’s local state is keyed by path, so the next scan may upload it again.
edge/. Adding mounts does not require a Central storage migration: snapshots remain organized by edge_id/edge_instance_id/job_name.