{"repo":"vitalii-dylovyi/drizzle-studio-self-host","free":true,"listed":false,"github":"https://github.com/vitalii-dylovyi/drizzle-studio-self-host","clone":"git clone https://github.com/vitalii-dylovyi/drizzle-studio-self-host.git","description":"Guide to self-host Drizzle Studio","language":null,"stars":10,"topics":["drizzle","guide","nginx","self-host","drizzle-stuio"],"license":null,"category":"self-hosted-apps","readme_excerpt":"🟢 Self-hosting Drizzle Studio using Nginx I couldn't find any guide to self-host Drizzle Studio, so I figured it out myself—and now I'm sharing it with you pals. Here is a step-by-step guide to host Drizzle Studio with: 🔒 Basic Auth 🌐 HTTPS using Let's Encrypt 🧍 UI served at /studio/ ❌ No CORS issues 📀 API served from the same origin --- 0 · Prerequisites Install the following dependencies: Node.js ≥ 20 pm2 Nginx Certbot (Let's Encrypt) Apache utils (for Basic Auth password generation) DNS Setup Set an A record in your DNS provider (e.g., Cloudflare, Namecheap): or you can bypass any external DNS/CDN and test directly against your origin --- 1 · Run Drizzle Studio with PM2 Test it locally: --- 2 · Create Basic Auth User Enter and confirm a password. --- 3 · Set up HTTPS with Let's Encrypt Certificates will be stored at: --- 4 · Configure Nginx 4.1 Site Config: /etc/nginx/sites-available/drizzle.conf 4.2 CDN Headers: /etc/nginx/snippets/drizzle-cdn-headers.conf 4.3 Backend Headers: /etc/nginx/snippets/drizzle-proxy-headers.conf 4.4 Enable the Site --- 5 · Test in Browser 1. Open an incognito tab 2. Visit https://example.com 3. Enter Basic Auth credentials 4. You should be redirected to: https://example.com/studio/?host=example.com&port=443 5. The Studio UI should appear --- 6 · Troubleshooting Problem Fix ---------------------------- ----------------------------------------------------------------- 502 Bad Gateway Drizzle Studio not running, wrong port, or missing proxy s","default_branch":null,"files":null,"tree":[],"storefront":"/r/vitalii-dylovyi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vitalii-dylovyi/drizzle-studio-self-host/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}