Docker
Grengin publishes container images for the API and for the installer. Use them to try Grengin locally, or to build your own container setup.
Self-hosted only
Note For a server your team uses, use the install script or the AWS image.
Published images
| Image | What it is | Platforms and tags |
|---|---|---|
ghcr.io/grengin-oss/grengin-api | The API. Listens on 8080; also contains grengin-migrate and sqlx-mcp. | amd64 and arm64; latest, X.Y.Z, vX.Y.Z |
ghcr.io/perter-tech/grengin-image | The installer, with the API and web app built in, for a local test run. | amd64 and arm64; latest, main-<commit> |
The web app has no separate image. It ships as static files inside each GitHub release (opens in a new tab) bundle (grengin-<version>-linux-<arch>.tar.gz, folder webapp/), for any web server that also proxies /api to the API.
The API needs PostgreSQL 16 with the vector (pgvector) extension, for example pgvector/pgvector:pg16. Its settings are environment variables: see the Configuration Reference.
Local test run
-
Run the installer image Installer, API and web app in one container. Publish port 80 with
-p; the container’s IP isn’t reachable from your browser.docker run --rm -p 8080:80 \ -e GRENGIN_LOCAL_TEST_URL=http://localhost:8080 \ ghcr.io/perter-tech/grengin-image:latest -
Open the wizard
http://localhost:8080. -
Skip pairing and the domain Local test mode allows both, as below.
GRENGIN_LOCAL_TEST_URL marks a local test at that browser address.
| Step | In a local test run |
|---|---|
| Connect to Grengin | Optional locally |
| Domain | Skippable; app stays on localhost |
| OAuth callbacks | Keep the published port, e.g. http://localhost:8080/auth/google/callback |
- Allowed values
http(s)://+localhostor*.localhost, optional port, no path. Not127.0.0.1. - Sign-in Register your own Google or Entra app with the localhost callback.
Warning With
--rm, the database and settings are deleted when the container stops. Never setGRENGIN_LOCAL_TEST_URLon a public server.
Related
- Install on Your Server Install with one command.
- Build from Source Build every part yourself.
- Configuration Reference Every variable in
.env.