update to garage sync

This commit is contained in:
2026-04-09 16:04:35 -04:00
parent ee0c58ad28
commit cf92394e3f
2 changed files with 11 additions and 2 deletions
+10 -2
View File
@@ -104,10 +104,18 @@ for stateless static sites.
## 9. Upload media files
**Trigger:** `aws s3 cp` or `aws s3 sync` to `s3://example.com/`.
**Trigger:** `aws s3 cp` or `aws s3 sync` to `s3://example.com/`, or `./media.sh push` from a site repo.
**Expected outcome:**
- File uploaded via S3 API (`s3.hantim.net`)
- Replicated to both Garage nodes (hantim + argento)
- Accessible at `https://www.example.com/media/<path>`
- Local development: `static/media/` (gitignored) serves at `/media/`
## 10. Local development with media files
**Trigger:** `./media.sh pull` from a site repo.
**Expected outcome:**
- Media files downloaded from Garage to `static/media/` (gitignored)
- Files served locally at `/media/` by the app container's nginx
- To upload local changes back to Garage: `./media.sh push`