Self-Hosting a Database Schema Tool with Docker

If your schemas touch sensitive production data, you may want a self-hosted schema tool, not a hosted one. FoxSchema's web app is designed to be self-hosted with Docker — a single container on your own infrastructure, with database credentials that never leave it.

A self-hosted schema tool in one container

The web app serves both the UI and the API on one configurable port. Pull the prebuilt image and run:

docker run -d -p 3001:3001 \
  -e APP_ENCRYPTION_KEY=$(openssl rand -hex 32) \
  -v fox_data:/data 5nickels/foxschema:latest

Your data stays yours

Saved connections and history live on a Docker volume you control. The encryption key that protects saved passwords is yours — store it in your secret manager, and it never appears in the browser.

Public deployment

The default is open single-user — do not expose that directly to the internet. For a shared deployment, enable real accounts with SSO (Google, GitHub, or Microsoft) and terminate TLS at your reverse proxy. The self-hosting guide covers the full configuration.

Get started with a self-hosted schema tool

See the self-hosting guide or the deployment docs for cloud platforms, external metadata databases, and the IBM Db2 variant.

Further reading: for more on self-hosted schema tool, see the Docker documentation.

Scroll to Top