Skip to content

Self-hosted MockHub

A self-hosted installation is MockHub running on a host your organisation controls, from a release MockHub signs, instead of at mockhub.io. The people who use it see the same app, gateway, CLI and AI assistant tools these docs describe. The pages in this section are for the operator who installs and runs it, and for its instance administrators.

  • The operator works on the host with the mockhub command in the installation directory: installing, upgrading, backups, the licence file and support bundles. See The mockhub command.
  • Instance administrators work in the app’s Admin console: accounts, workspaces, plans and the licence. The first one is created on the host; see Create the first administrator.
  • Everyone else signs in and works in workspaces as on the hosted service.

One host with Docker Engine 25.0 or later and its Compose plugin 2.24 or later runs the whole of MockHub: one copy of the app, the web app, this documentation, the background workers and the scheduler, the realtime hub, PostgreSQL, three Valkey instances, RabbitMQ, MongoDB and two WireMock instances. Only the edge, which terminates TLS, publishes ports, 80 and 443. It answers on four hostnames of your own and a wildcard; see Install MockHub on your own host.

Area Self-hosted installation
Addresses Your own hostnames. Each project answers on a subdomain of your gateway host, not of mockhub.dev
Billing None: no checkout, subscriptions, trials, add-ons or invoices, and no Pro trial or demo. Every workspace is on the installation’s plan, and an instance administrator can add plans in Admin → Plans and move workspaces onto them. The limits page at mockhub.io does not describe it
Licence An installation your organisation runs needs a licence file from MockHub. It sets how many accounts may exist and which features any plan can turn on; without one in force, changes are refused
Sign-up Only people a workspace invites, by default. The operator can admit your organisation’s email domains, or anyone; see Choose who can sign up
Leaving staff Instance administrators deactivate their accounts. There is no single sign-on or directory sync
AI generation Off: no request leaves the host for an AI provider unless the operator turns it on with an OpenRouter key
Data leaving the host Nothing, unless the operator configures it: mail goes to your own relay, and error reporting and tracing are off
Email Sent through your mail relay, naming your organisation’s support mailbox. Emails link to this documentation as your installation serves it, and carry no link to MockHub’s privacy policy or terms
Updates When the operator installs a new release, in a maintenance window that also takes a backup; see Upgrade to a new release
Support Through your organisation’s support mailbox, which the app names. The operator sends MockHub a support bundle when MockHub support needs facts about the host
  • One host. An installation runs one copy of each service on one host; it does not spread across hosts or fail over to another.
  • The measured memory, CPU and disk footprint is not published. Size the host with MockHub before you install.
  • Pages elsewhere in these docs describe the hosted service. Where they name mockhub.io, mockhub.dev, plans, prices or billing, your installation’s own hostnames, plan and licence apply instead.

Report a problem with this page