Skip to content

feat(backend): store production files on Amazon S3 - #18

Merged
gustmrg merged 1 commit into
mainfrom
feat/s3-storage-production
Oct 11, 2026
Merged

gustmrg merged 1 commit into
mainfrom
feat/s3-storage-production

Conversation

@gustmrg

@gustmrg gustmrg commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • docker-compose.prod.yml passes S3_BUCKET_NAME, S3_REGION, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to the API, with no Storage__ServiceUrl, so production uses Amazon S3 instead of the MinIO container.
  • .env.prod.example lists the new variables.
  • README documents how Storage:ServiceUrl selects MinIO vs S3 and the IAM permissions needed; docs/deployment.md notes that the deploy does not copy compose files to the server.

No code changes: S3FileStorageService already talks to S3, and attachments.storage_path keys are kept as-is during the file copy.

Rollout

The server's compose files and .env are updated by hand during the cutover (the deploy workflow does not copy them).

Pass the S3 bucket, region and IAM credentials to the API in the
production overlay instead of relying on a server-only MinIO setup,
and document the storage configuration.
@gustmrg
gustmrg merged commit 025057c into main Oct 11, 2026
4 checks passed
@gustmrg
gustmrg deleted the feat/s3-storage-production branch October 11, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant