feat: driver documents (sovereignty storage adapter) + load-test script

- documents: upload (multipart) + review (admin/CS) + auto-approve driver when all docs approved
- StorageService: per-tenant local volume now, in-country storage swap via STORAGE_BASE_URL
- doc.number encrypted (AES-256-GCM); migration InitDocuments; tripz-storage volume
- scripts/loadtest.mjs: concurrent full trip-cycle benchmark (throughput + latency percentiles)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-16 19:36:27 +03:00
co-authored by Claude Opus 4.8
parent f3383c3cf8
commit 7a58a01417
11 changed files with 424 additions and 0 deletions
+3
View File
@@ -51,6 +51,8 @@ services:
depends_on: [postgres, redis]
ports:
- "${API_PORT:-4010}:4010"
volumes:
- tripz-storage:/app/storage
networks: [tripz-net]
worker:
@@ -68,6 +70,7 @@ services:
volumes:
tripz-pgdata:
tripz-redisdata:
tripz-storage:
networks:
tripz-net: