Dory Docs
Deploy

Dory Deployment Guide

Dory can run as a desktop app, local web app, or Docker-based self-hosted deployment. For shared deployments, plan runtime configuration, authentication, AI provider credentials, database network access, secrets, and user access before inviting users.

Deployment Pages

PageUse caseFocus
Self-HostingRun Dory in your own environmentArchitecture, secrets, persistence, proxying, and rollout checks.
DockerStart Dory quickly in a containerdocker run, .env, ports, volumes, and upgrades.
Environment VariablesConfigure runtime behaviorAuth, AI, email, OAuth, MCP, and init user variables.
Auth / SSOPlan team identityEmail verification, Google/GitHub login, provisioning, and offboarding.
  1. Run Dory locally or on a test server with Docker.
  2. Prepare secrets, auth URL, and AI configuration in Environment Variables.
  3. Put Dory behind HTTPS.
  4. Decide login and verification rules in Auth / SSO.
  5. Validate SQL Console, Explorer, and AI on test databases.
  6. Add production databases with readonly accounts first.

Quick Answer

Dory can be self-hosted with Docker. Production deployments need DS_SECRET_KEY, BETTER_AUTH_SECRET, BETTER_AUTH_URL, and AI variables when AI is enabled. Team deployments should use HTTPS, readonly database accounts, trusted origins, and a clear user management process.

On this page