Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5c03770 to
1041023
Compare
|
View Vercel preview at instant-www-js-drewh-self-hosting-jsv.vercel.app. |
1041023 to
55e4b76
Compare
55e4b76 to
cd278b5
Compare
cd278b5 to
28970ff
Compare
|
Hey! Just say thanks for making InstantDB open source in the first place. Really appreciate that you've made that possible. I saw you HN launch post on Thursday and started fiddling with self-hosting separately. I just today saw your work on this branch. I took a somewhat different approach than you, so I wanted to share back in case any of my ideas were useful. My main constraint was that I needed everything to be fully configurable via environment variables — all ports, data directories, etc. The reason is I run multiple worktrees in parallel (each with its own Postgres instance and allocated ports) so that my coding agents can work on different branches simultaneously without stepping on each other. That meant I needed to rely entirely on env vars to make the whole stack relocatable rather than just prod, staging, dev mapped to hardcoded urls. I also went the MinIO route for storage. I saw you did not change S3AsyncClient/crtBuilder uploader. Did you get file uploading to work with MinIO? I ended up building a hacky workaround for it. Would love to know if I just did something wrong and its possible to just use minio without any aws s3 client code changes. For the dashboard I was able to sidestep needing a if you're curious the full diff against upstream: https://peoplesgrocers.com/code/comrades/self-hosted-instantdb/pulls/1/files. It looks a bit big only because I also added in a client library for Qwik and example for Qwik-City ( just ignore that part, its a niche library found in ecommerce). Anyways, thanks again for making a great codebase. It was really easy to get my app working. |
|
Thanks for working on this! I went through the PR and the code and it seems (but please correct me) that AWS S3 is currently the only way to get storage, right? Would be amazing if other S3 compatible solutions could be used - for example our start up runs on Hetzner due to being EU based and in the education space so AWS is not really an option for us but Hetzner has an S3 compatible Object Storage solution I would love to use. |
eaa5df7 to
e60cb73
Compare
e60cb73 to
7da4934
Compare
7da4934 to
c2c1dee
Compare
c2c1dee to
f287ed6
Compare
f287ed6 to
1f8b276
Compare
1f8b276 to
7c12405
Compare
No description provided.