Вложения: приватный S3-bucket (RustFS 1.0.4) + метаданные в PostgreSQL, upload PNG/JPEG с лимитами до декодирования, авторизованный download, attachment_ids в сообщениях, идемпотентный bootstrap bucket, failover/persistence/S3-down тесты и REPORT.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
2.3 KiB
Plaintext
29 lines
2.3 KiB
Plaintext
# 2026-11-12T15:41:26Z, commit ec540a1
|
|
NAME IMAGE STATUS PORTS
|
|
mtusi-lab4-api-1 mtusi-lab4-api:local Up About a minute (healthy) 8080/tcp
|
|
mtusi-lab4-api-2 mtusi-lab4-api:local Up 3 minutes (healthy) 8080/tcp
|
|
mtusi-lab4-api-ttl-1 mtusi-lab4-api:local Exited (137) 38 seconds ago
|
|
mtusi-lab4-lb-1 haproxy:3.2.8-alpine Up 8 minutes (healthy) 127.0.0.1:8080->8080/tcp, 127.0.0.1:8404->8404/tcp
|
|
mtusi-lab4-migrate-1 mtusi-lab4-api:local Exited (0) 2 minutes ago
|
|
mtusi-lab4-postgres-1 postgres:17.7-bookworm Up 44 seconds (healthy) 5432/tcp
|
|
mtusi-lab4-s3-1 rustfs/rustfs:1.0.4@sha256:ed9210d6411d77ffceb70d94b964a3cb7d225983368bc25bebe01e995293dcc2 Up 2 minutes (healthy) 9000-9001/tcp
|
|
mtusi-lab4-s3-init-1 mtusi-lab4-api:local Exited (0) 2 minutes ago
|
|
mtusi-lab4-valkey-1 valkey/valkey:8.1.4 Up 58 seconds (healthy) 6379/tcp
|
|
|
|
# s3-init (idempotent bucket bootstrap + anonymous access check):
|
|
bucket messenger-attachments: exists
|
|
bucket messenger-attachments: no bucket policy (private)
|
|
anonymous GET messenger-attachments/_bootstrap/private-check: HTTP 403 (denied)
|
|
bucket messenger-attachments: exists
|
|
bucket messenger-attachments: no bucket policy (private)
|
|
anonymous GET messenger-attachments/_bootstrap/private-check: HTTP 403 (denied)
|
|
|
|
# repeated bootstrap run (must not touch existing bucket):
|
|
bucket messenger-attachments: exists
|
|
bucket messenger-attachments: no bucket policy (private)
|
|
anonymous GET messenger-attachments/_bootstrap/private-check: HTTP 403 (denied)
|
|
|
|
# volumes:
|
|
mtusi-lab4_pgdata
|
|
mtusi-lab4_s3data
|