How to deploy drizzle studio with cloudflare tunnel?

I deployed drizzle studio on a server (EC2) and installed a cloudflare tunnel on it, but I couldn't proxy the drizzle studio web page like regular services.
1 Reply
HK
HKOP4mo ago
I found the solution, set tunnel service to point to http://localhost:4983, and access https://local.drizzle.studio/?host=<domain>&port=443 But this way, we cannot apply cloudflare access application auth on the domain. local.drizzle.studio will be unable to access the data with the protection Which means, to keep this working, your database will be left with no protection at all on the internet. The only scenario this approach could be meaningful is "demo". To show some data and db schema to public. I don't understand why we can't host the studio and access it on localhost:<port> directly, just like prisma studio.

Did you find this page helpful?