feat(media): default to s3 with local upload fallback

This commit is contained in:
2026-02-12 18:16:11 +01:00
parent 19738b77d8
commit 86a8af25d8
4 changed files with 28 additions and 14 deletions

View File

@@ -10,11 +10,11 @@ CMS_SUPPORT_EMAIL="support@cms.local"
CMS_SUPPORT_PASSWORD="change-me-support-password"
CMS_SUPPORT_NAME="Technical Support"
CMS_SUPPORT_LOGIN_KEY="support-access-change-me"
CMS_MEDIA_STORAGE_PROVIDER="local"
CMS_MEDIA_STORAGE_PROVIDER="s3"
CMS_MEDIA_UPLOAD_MAX_BYTES="26214400"
# Optional: override local media storage directory for admin upload adapter.
# CMS_MEDIA_LOCAL_STORAGE_DIR="/absolute/path/to/media-storage"
# S3/object-storage config (required when CMS_MEDIA_STORAGE_PROVIDER="s3").
# S3/object-storage config (default provider). If unavailable, upload falls back to local storage.
# CMS_MEDIA_S3_BUCKET="cms-media"
# CMS_MEDIA_S3_REGION="eu-central-1"
# CMS_MEDIA_S3_ACCESS_KEY_ID=""