lab4: исправления по ревью
This commit is contained in:
+3
-1
@@ -4,7 +4,9 @@
|
||||
the single source of truth for S3 credentials and permissions.
|
||||
|
||||
- `admin` is used only by the one-shot `s3-init` service (bucket creation and
|
||||
probing). It is never given to the API.
|
||||
probing). It is never given to the API and must not be placed in `.env`:
|
||||
the API service loads `.env` as an environment file. Compose supplies the
|
||||
synthetic admin values to `s3-init` directly.
|
||||
- `app` is used by the API and by presigned uploads. It can read/write only
|
||||
`messenger-attachments/attachments/*` and `messenger-attachments/staging/*`,
|
||||
and list the bucket for the orphan sweeper.
|
||||
|
||||
Reference in New Issue
Block a user