APIGit on your own servers
APIGit On-Premise is APIGit Enterprise Server, the self-hosted edition: the Git repositories, editor, reviews, documentation sites, mock servers and governance of APIGit Cloud, installed with Docker Compose on a server you run. It makes no connection to APIGit.
$ sha256sum -c apigit-enterprise-<release>.tar.gz.sha256$ tar xzf apigit-enterprise-<release>.tar.gz$ cd apigit-enterprise-<release>$ docker load -i images.tar$ cd package$ cp .env.example .env # your addresses and secrets$ docker compose up -d$ docker compose ps- About fifteen minutes
- to install on one machine
- Eight services
- started by one Compose file
- No outbound connection
- to APIGit, at installation or afterwards
The whole of APIGit, inside your network
It runs APIGit as APIGit Cloud does. Your specifications, documents and mock data never leave the server.
Git repositories and reviews
A Git repository for every API, with branches, pull requests and history. Clone and push over HTTPS with any Git client.
Editor, governance and templates
Edit OpenAPI, AsyncAPI and GraphQL in the browser, check them against your rule sets while you edit, and start new APIs from your templates.
Documentation sites with Try it
Publish references and Markdown guides from a commit, on your own host names. Readers send requests from the page with Try it.
Mock servers without call limits
Spec-based mocks answer from an API document; code-based mocks run your scripts. Each answers on its own name under your wildcard host, and calls are not counted.
Organizations, teams and single sign-on
Organizations, teams and permissions as on the Cloud. Connect your identity provider over OpenID Connect or LDAP.
Documents that answer AI agents
Every published document also serves llms.txt, Markdown pages and an MCP endpoint, from your server.
One Compose file, eight services
The installation is a directory with a Compose file, a settings file and the guides. Your reverse proxy or load balancer stands in front of it and holds the TLS certificates.
| Service | What it does |
|---|---|
backend | The API, Git over HTTP and the background work |
web | The web application your team signs in to |
viewer | Published documents, on your documentation host name and on each document's own |
mock mock-worker | Mock servers; the worker runs the scripts of code-based mocks |
tryit | Sends the requests readers make with Try it |
postgres redis | PostgreSQL and Redis, bundled. You can use your own PostgreSQL 14 or later and Redis 7 or Valkey instead |
A Linux server with Docker
Docker Engine 24 or later with the Compose plugin. 2 CPU cores, 4 GB of memory and 20 GB of disk are enough to evaluate; plan for 4 cores and 8 GB for a team of a hundred.
Three host names
One for the application, one for published documents and a wildcard for mock servers, all resolving to the server.
Optional: mail and an identity provider
An SMTP server for invitations and password reset, and an OpenID Connect or LDAP provider for single sign-on.
Built to stay inside your network
Two parts of APIGit act for a user inside your network: mock scripts and Try it. Both are closed by default, and you decide what to open.
No call home
The licence is one signed text file. The server checks the signature itself and never contacts APIGit.
Installs without a registry
One archive holds the images, the package and checksums. Verify it, load it, start it: the server needs no way out to the internet.
Mock scripts have no network
A code-based mock runs in its own process, in a read-only container without privileges. It cannot reach the backend, the database, your network or the internet.
Try it reaches only what you allow
By default Try it reaches the public internet only. Addresses of private networks are refused until you list the APIs that are meant for it; loopback and cloud metadata addresses are always refused.
Sign-up is closed
Users are created by an administrator or through single sign-on. Each user who can sign in holds one seat of the licence.
Your backups, your upgrades
The data is a database and two volumes, and the guide gives the commands to back them up and restore them. An upgrade replaces six images and restarts the backend, which is unavailable for about a minute.
Licensed per user, for a period
Every licence gives the whole server the same feature set; only the seat count and the expiry date limit it. A site administrator pastes the file on the Licence page, and a renewal takes effect at once, with nothing restarted.
| When | What happens |
|---|---|
| From 30 days before the expiry date | Administrators see a notice with the date |
| For 14 days after the expiry date | Everything keeps working; every user sees the date the server becomes read-only |
| After those 14 days | The server is read-only: sign-in, browsing, published documents, cloning and fetching work; saving, publishing and pushing are refused |
| When every seat is taken | Another user cannot be created or activated; existing users are not affected |
| Without a licence | The server runs with the limits of the Free plan |
Nothing is deleted or hidden when a licence expires, and installing a new one ends the read-only state immediately.
Questions about APIGit On-Premise
What is APIGit On-Premise?
Does the server contact APIGit?
Can it be installed without internet access?
Does it run on Kubernetes?
Which sign-in methods are supported?
Is anything in APIGit Cloud not in this version?
What happens when the licence expires?
How do we get it?
Run APIGit on your own servers
Tell us how many people will use it and how your network is set up. We send the release, the installation guides and a licence.
Licensed per user. Priced by agreement.
$ npm install -g @apigit/cli$ apigit auth login$ apigit doc publish