feat: add Syncthing service for Hermes org-file sync #30
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/syncthing-org-sync"
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
Add a Syncthing container to the AI compose stack for syncing org-mode files between the user's laptop and the Hermes agent container.
What Changed
New
syncthingservice inai/compose.yml:syncthing/syncthing:latest127.0.0.1:8384(localhost only)2200021027org-ro— read-only copy of user's org vault (Syncthing "receive only" from laptop)org-rw— two-way sync inbox (Hermes writes tasks, laptop refiles)Updated
hermesservice — added two volume mounts to access the same Syncthing directories:${DATA}/Syncthing/org-ro:/opt/data/org-ro:ro— agenda read${DATA}/Syncthing/org-rw:/opt/data/org-rw:rw— task writebackPost-Merge Setup
Create the directories on the host:
After deploy, configure Syncthing via the web UI at http://lazyworkhorse.net:8384:
org-roas "Receive Only" folderorg-rwas "Send & Receive" folderThe
ai_stacksystemd service needs a port 22000 entry added to the Nix config firewall (separate infra PR).