WIP: добавить MVP загрузки вложений в Cloudflare R2

Работа ещё не готова: предпросмотр публичных R2-вложений в UI пока не завершён.
This commit is contained in:
AidarKC
2026-11-15 00:48:41 +03:00
parent 97db033eb8
commit 2f5736e67d
16 changed files with 361 additions and 72 deletions
+11
View File
@@ -32,3 +32,14 @@ call.ice.turn.sharedSecret=
# Email verification for free registration: requires the separate allowlist file.
# The deployment script copies allowed-email-domains.txt alongside shine-server.jar.
freeRegistration.email.allowedDomainsFile=allowed-email-domains.txt
# R2 public attachment direct uploads.
# These values belong only in the private server application.properties,
# never in Git or the browser bundle.
r2.publicBucket=shine-files
r2.endpoint=
r2.accessKeyId=
r2.secretAccessKey=
# Environment variables R2_ENDPOINT, R2_ACCESS_KEY_ID and
# R2_SECRET_ACCESS_KEY override the three properties above.