
Deploy Drizzle Gateway with Tailscale
Drizzle Gateway on your tailnet, with no public domain
Tailscale
Just deployed
/var/lib/tailnet
Drizzle Gateway
Just deployed
/app
Deploy and Host Drizzle Gateway with Tailscale on Railway
Drizzle Gateway is a browser-based interface for managing several database connections. This template runs it on Railway behind a Tailscale service, so only devices on your tailnet can open it.
About Hosting Drizzle Gateway with Tailscale
This template deploys Drizzle Gateway, a browser-based interface for managing several database connections, together with a Tailscale service. Neither service gets a public domain. The Tailscale service joins your tailnet as its own machine and forwards its port to Drizzle Gateway over Railway's private network. Your device reaches Drizzle Gateway only through your tailnet.
You do not generate or paste a key. The Tailscale service prints a sign-in link into its deploy log. You open the link, sign in, and the machine joins your tailnet. The log then prints the address to open in your browser.
On the deploy form, you can pick your database service's connection string for DATABASE_URL_Postgres. Drizzle Gateway then saves that connection the first time it starts. You can also leave the field empty and add a connection later, inside Drizzle Gateway.
Common Use Cases
- Managing several database connections from one private address.
- Setting a separate password for a teammate with limited access.
- Giving your team a shared database browser that stays off the open internet.
Dependencies for Drizzle Gateway with Tailscale Hosting
- A database connection: PostgreSQL, MySQL, SQLite, D1, or Turso.
- A Tailscale account.
Deployment Dependencies
Why Deploy Drizzle Gateway with Tailscale on Railway?
You need the Railway Hobby plan or higher. The Free plan allows one volume per project, and this template needs three volumes: one for your database, one for Drizzle Gateway's storage, and one for the Tailscale service.
Follow the full walkthrough in Drizzle Studio and Gateway on Railway with Tailscale built in. It covers the deploy form and the sign-in step.
Template Content
Drizzle Gateway
ghcr.io/drizzle-team/gateway:1.6.2