исправление

This commit is contained in:
2026-10-26 19:40:34 +03:00
parent a591243d80
commit aaab3ac8b2
37 changed files with 1749 additions and 389 deletions
+4 -4
View File
@@ -13,11 +13,11 @@ SeaweedFS admin/UI port 8888 inside the network: closed
SeaweedFS admin/UI port 8080 inside the network: closed
host 127.0.0.1:9000, :9333, :8888: closed (S3 is not published)
attachments columns: id:uuid, chat_id:uuid, owner_id:uuid, filename:text, content_type:text, size_bytes:bigint, sha256:text, width:integer, height:integer, storage_key:text, status:text, created_at:timestamp with time zone, updated_at:timestamp with time zone, error_code:text, staging_key:text
api b0db3e40abfe: files with the same SHA-256 on disk: 0
api ef44b0d4c0a1: files with the same SHA-256 on disk: 0
worker d9eced386d93: files with the same SHA-256 on disk: 0
api 48dc392933dc: files with the same SHA-256 on disk: 0
api c1b7e1ab5673: files with the same SHA-256 on disk: 0
worker 292a36c54a41: files with the same SHA-256 on disk: 0
broker message (243 bytes): ['attachment_id', 'attempt', 'created_at', 'job_id', 'pipeline_version', 'schema_version', 'type'] — only IDs and service fields
s3-init run 1: exit 0: s3-init: bucket messenger-attachments already exists; anonymous access: 403 (private)
s3-init run 2: exit 0: s3-init: bucket messenger-attachments already exists; anonymous access: 403 (private)
objects in bucket before/after bootstrap: 164/164; the file still downloads
objects in bucket before/after bootstrap: 360/360; the file still downloads
PASS: bucket is private outside the API, the API S3 user has least privilege, the console is closed, bytes are only in S3, bucket bootstrap is idempotent