Skip to content

Add Docker support#20

Open
jedmund wants to merge 5 commits intohrescak:mainfrom
jedmund:docker
Open

Add Docker support#20
jedmund wants to merge 5 commits intohrescak:mainfrom
jedmund:docker

Conversation

@jedmund
Copy link
Copy Markdown

@jedmund jedmund commented Feb 22, 2026

This PR adds support for building with Docker and self-hosting images with MinIO.

This makes three changes to actual app files:

  • src/app/(auth)/sign-up/page.tsx: Force dynamic rendering to prevent build failures
  • src/lib/r2.ts: Added S3_ENDPOINT and helper methods to switch between self-hosted storage and R2 storage
  • src/server/api/routers/upload.ts: Update some messages to properly address using S3-compatible storage

@jedmund jedmund marked this pull request as ready for review February 22, 2026 01:15
@jedmund jedmund marked this pull request as draft February 24, 2026 08:38
@jedmund jedmund marked this pull request as ready for review February 25, 2026 18:17
@hrescak
Copy link
Copy Markdown
Owner

hrescak commented Feb 27, 2026

@jedmund this is increadible! I'm sorry I missed this PR and only noticed it now, I've abstracted the storage to support vercel's blob too, so there might need to be a bit of a rewrite needed but I'm happy to get this in otherwise. Would you mind updating the readme / deployment guide too?

@jedmund
Copy link
Copy Markdown
Author

jedmund commented Feb 27, 2026

Yeah, work got a bit busy (read: I need to lock in) but I will get to it before the weekend is over!

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.

2 participants