Skip to content
APIGit Enterprise

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.

Install from the image archive, commands only
$ 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.

ServiceWhat it does
backendThe API, Git over HTTP and the background work
webThe web application your team signs in to
viewerPublished documents, on your documentation host name and on each document's own
mock mock-workerMock servers; the worker runs the scripts of code-based mocks
tryitSends the requests readers make with Try it
postgres redisPostgreSQL 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.

WhenWhat happens
From 30 days before the expiry dateAdministrators see a notice with the date
For 14 days after the expiry dateEverything keeps working; every user sees the date the server becomes read-only
After those 14 daysThe server is read-only: sign-in, browsing, published documents, cloning and fetching work; saving, publishing and pushing are refused
When every seat is takenAnother user cannot be created or activated; existing users are not affected
Without a licenceThe 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?
APIGit On-Premise is APIGit Enterprise Server: APIGit installed on a server you run, with Docker Compose. It has the Git repositories, the editor, reviews, published documentation with Try it, mock servers, governance and templates, organizations and teams, and single sign-on of APIGit Cloud.
Does the server contact APIGit?
No. The server makes no connection to APIGit, at installation or afterwards. The licence is a signed file that the server verifies by itself. Links in the application to the documentation on apigit.com open only where the internet is reachable.
Can it be installed without internet access?
Yes. A release can be delivered as one archive with the images, the package and checksums. You load the images with docker load, and the server needs no registry and no way out to the internet.
Does it run on Kubernetes?
This version runs on one machine with Docker Compose. A Helm chart for Kubernetes is not included.
Which sign-in methods are supported?
Passwords, OpenID Connect and LDAP. Sign-up is closed by default: users are created by an administrator or through single sign-on. SAML sign-in is not included in this version.
Is anything in APIGit Cloud not in this version?
A few things. Mock server calls are not counted, so there are no monthly limits. Certificates for a document's own host name are held by your reverse proxy, not issued automatically. There is no audit log in the application and no server-side linting through the API; linting in the editor and with the apigit command line works.
What happens when the licence expires?
Administrators see a notice from 30 days before the date. For 14 days after it everything keeps working. Then the server is read-only: signing in, browsing, reading published documents, cloning and fetching still work, while saving, publishing and pushing are refused. Nothing is deleted, and installing a new licence ends the read-only state at once.
How do we get it?
Contact us. You receive the images of a release, as an archive or as image names you can pull, the installation package with its guides, and your licence file.

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