Update architecture and infrastructure docs
This commit is contained in:
@@ -116,7 +116,7 @@ Last.fm schemas (separate, not Ecto-persisted to main DB):
|
||||
|
||||
| Module | Purpose |
|
||||
|--------|---------|
|
||||
| `Records.SearchParser` | Parses search syntax: `artist:X`, `album:X`, `genre:"Y"`, `format:cd`, `type:album`, `purchase_year:2024`, free text |
|
||||
| `Records.SearchParser` | Parses search syntax: `artist:X`, `album:X`, `genre:"Y"`, `format:cd`, `type:album`, `purchase_year:2024`, `release_year:2024`, free text |
|
||||
| `Records.Similarity` | Embedding generation (OpenAI, enriched with Last.fm tags), cosine-distance search (sqlite-vec) |
|
||||
| `Records.TracklistPdf` | Generates 120mm×120mm PDF tracklist from record + release data (Typst) |
|
||||
| `Batch` | Generic batch runner: stream + transaction + error accumulation |
|
||||
|
||||
@@ -70,8 +70,9 @@ Configured in `config/litestream.yaml`. Runs as a separate Docker Compose servic
|
||||
|---------|-------|
|
||||
| S3 endpoint | `https://nbg1.your-objectstorage.com` |
|
||||
| Bucket | `ffmusiclibrary` |
|
||||
| Sync interval | 1 minute |
|
||||
| Retention | 672 hours (4 weeks) |
|
||||
| Sync interval | 24 hours |
|
||||
| Snapshot interval | 24 hours |
|
||||
| Retention | 168 hours (1 week) |
|
||||
|
||||
Credentials via environment: `LITESTREAM_ACCESS_KEY_ID`, `LITESTREAM_SECRET_ACCESS_KEY`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user