Upgrading
A release of APIGit Enterprise Server is six images (backend, web, viewer, tryit, mock, mock-worker) that belong together, plus this directory at the matching version.
-
Back up first (Backup and restore). The backend changes the database when a newer version starts, and that change cannot be undone: going back to an older release means restoring the backup.
-
Replace this directory’s files with those of the new release, keeping your
.envand anycompose.override.yaml. -
Put the new image names into
.env. -
Apply:
docker compose pull # from the image archive instead: docker load -i images.tar docker compose up -d docker compose psThe backend is unavailable for about a minute while it restarts.
-
Sign in and check the Licence page and one repository.
Upgrade one release at a time unless the release notes of the newer one say that skipping is supported.
Changes to look at when upgrading
- Try it and private addresses. Since the release that follows
evaluation-3, Try it reaches the public internet only unlessAPIGIT_TRYIT_ALLOW_HOSTSlists more. If your readers use Try it against APIs inside your network and the setting was empty, list those APIs before upgrading (Security, “Try it”). The former behaviour isAPIGIT_TRYIT_ALLOW_HOSTS=@public,@private.
Last updated on