Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gui/postgis-docker

Automated and up-to-date Docker images for all supported versions of PostgreSQL, PostGIS, and pgRouting.
https://github.com/gui/postgis-docker

Last synced: 16 days ago
JSON representation

Automated and up-to-date Docker images for all supported versions of PostgreSQL, PostGIS, and pgRouting.

Awesome Lists containing this project

README

        

# postgis-docker

Automated and up-to-date Docker images for all supported versions of PostgreSQL, PostGIS, and pgRouting.

Images are based upon the [official Postgres images](https://hub.docker.com/_/postgres) but with PostGIS and optionally pgRouting included. New versions of PostgreSQL, PostGIS, and pgRouting should automatically be detected and trigger new docker images to built, tagged, and pushed by a daily [GitHub Actions workflow](https://github.com/GUI/postgis-docker/blob/main/.github/workflows/main.yml).

## Container Registries

Images are available from either Docker Hub or GitHub Container Registery:

- [docker.io/nickblah/postgis](https://hub.docker.com/r/nickblah/postgis)
- [docker.io/nickblah/pgrouting](https://hub.docker.com/r/nickblah/pgrouting)
- [ghcr.io/gui/postgis](https://github.com/users/GUI/packages/container/package/postgis)
- [ghcr.io/gui/pgrouting](https://github.com/users/GUI/packages/container/package/pgrouting)

## Supported Tags and Respective Dockerfile Links

- PostgreSQL 16
- PostGIS 3: [`16.3-postgis-3.4.2`, `16.3-postgis-3.4`, `16.3-postgis-3`, `16-postgis-3.4.2`, `16-postgis-3.4`, `16-postgis-3`, `16.3-bookworm-postgis-3.4.2`, `16.3-bookworm-postgis-3.4`, `16.3-bookworm-postgis-3`, `16-bookworm-postgis-3.4.2`, `16-bookworm-postgis-3.4`, `16-bookworm-postgis-3`, `bookworm-postgis-3.4.2`, `bookworm-postgis-3.4`, `bookworm-postgis-3`, `latest`](https://github.com/GUI/variant-docker/blob/main/16/bookworm/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`16.3-postgis-3.4.2-pgrouting-3.6.2`, `16.3-postgis-3.4-pgrouting-3.6.2`, `16.3-postgis-3-pgrouting-3.6.2`, `16-postgis-3.4.2-pgrouting-3.6.2`, `16-postgis-3.4-pgrouting-3.6.2`, `16-postgis-3-pgrouting-3.6.2`, `16.3-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `16.3-bookworm-postgis-3.4-pgrouting-3.6.2`, `16.3-bookworm-postgis-3-pgrouting-3.6.2`, `16-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `16-bookworm-postgis-3.4-pgrouting-3.6.2`, `16-bookworm-postgis-3-pgrouting-3.6.2`, `bookworm-postgis-3.4.2-pgrouting-3.6.2`, `bookworm-postgis-3.4-pgrouting-3.6.2`, `bookworm-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/16/bookworm/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL bullseye
- PostGIS 3: [`16.3-bullseye-postgis-3.4.2`, `16.3-bullseye-postgis-3.4`, `16.3-bullseye-postgis-3`, `16-bullseye-postgis-3.4.2`, `16-bullseye-postgis-3.4`, `16-bullseye-postgis-3`, `bullseye-postgis-3.4.2`, `bullseye-postgis-3.4`, `bullseye-postgis-3`](https://github.com/GUI/variant-docker/blob/main/16/bullseye/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`16.3-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `16.3-bullseye-postgis-3.4-pgrouting-3.6.2`, `16.3-bullseye-postgis-3-pgrouting-3.6.2`, `16-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `16-bullseye-postgis-3.4-pgrouting-3.6.2`, `16-bullseye-postgis-3-pgrouting-3.6.2`, `bullseye-postgis-3.4.2-pgrouting-3.6.2`, `bullseye-postgis-3.4-pgrouting-3.6.2`, `bullseye-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/16/bullseye/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 15
- PostGIS 3: [`15.7-postgis-3.4.2`, `15.7-postgis-3.4`, `15.7-postgis-3`, `15-postgis-3.4.2`, `15-postgis-3.4`, `15-postgis-3`, `15.7-bookworm-postgis-3.4.2`, `15.7-bookworm-postgis-3.4`, `15.7-bookworm-postgis-3`, `15-bookworm-postgis-3.4.2`, `15-bookworm-postgis-3.4`, `15-bookworm-postgis-3`](https://github.com/GUI/variant-docker/blob/main/15/bookworm/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`15.7-postgis-3.4.2-pgrouting-3.6.2`, `15.7-postgis-3.4-pgrouting-3.6.2`, `15.7-postgis-3-pgrouting-3.6.2`, `15-postgis-3.4.2-pgrouting-3.6.2`, `15-postgis-3.4-pgrouting-3.6.2`, `15-postgis-3-pgrouting-3.6.2`, `15.7-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `15.7-bookworm-postgis-3.4-pgrouting-3.6.2`, `15.7-bookworm-postgis-3-pgrouting-3.6.2`, `15-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `15-bookworm-postgis-3.4-pgrouting-3.6.2`, `15-bookworm-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/15/bookworm/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 15-bullseye
- PostGIS 3: [`15.7-bullseye-postgis-3.4.2`, `15.7-bullseye-postgis-3.4`, `15.7-bullseye-postgis-3`, `15-bullseye-postgis-3.4.2`, `15-bullseye-postgis-3.4`, `15-bullseye-postgis-3`](https://github.com/GUI/variant-docker/blob/main/15/bullseye/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`15.7-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `15.7-bullseye-postgis-3.4-pgrouting-3.6.2`, `15.7-bullseye-postgis-3-pgrouting-3.6.2`, `15-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `15-bullseye-postgis-3.4-pgrouting-3.6.2`, `15-bullseye-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/15/bullseye/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 14
- PostGIS 3: [`14.12-postgis-3.4.2`, `14.12-postgis-3.4`, `14.12-postgis-3`, `14-postgis-3.4.2`, `14-postgis-3.4`, `14-postgis-3`, `14.12-bookworm-postgis-3.4.2`, `14.12-bookworm-postgis-3.4`, `14.12-bookworm-postgis-3`, `14-bookworm-postgis-3.4.2`, `14-bookworm-postgis-3.4`, `14-bookworm-postgis-3`](https://github.com/GUI/variant-docker/blob/main/14/bookworm/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`14.12-postgis-3.4.2-pgrouting-3.6.2`, `14.12-postgis-3.4-pgrouting-3.6.2`, `14.12-postgis-3-pgrouting-3.6.2`, `14-postgis-3.4.2-pgrouting-3.6.2`, `14-postgis-3.4-pgrouting-3.6.2`, `14-postgis-3-pgrouting-3.6.2`, `14.12-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `14.12-bookworm-postgis-3.4-pgrouting-3.6.2`, `14.12-bookworm-postgis-3-pgrouting-3.6.2`, `14-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `14-bookworm-postgis-3.4-pgrouting-3.6.2`, `14-bookworm-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/14/bookworm/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 14-bullseye
- PostGIS 3: [`14.12-bullseye-postgis-3.4.2`, `14.12-bullseye-postgis-3.4`, `14.12-bullseye-postgis-3`, `14-bullseye-postgis-3.4.2`, `14-bullseye-postgis-3.4`, `14-bullseye-postgis-3`](https://github.com/GUI/variant-docker/blob/main/14/bullseye/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`14.12-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `14.12-bullseye-postgis-3.4-pgrouting-3.6.2`, `14.12-bullseye-postgis-3-pgrouting-3.6.2`, `14-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `14-bullseye-postgis-3.4-pgrouting-3.6.2`, `14-bullseye-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/14/bullseye/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 13
- PostGIS 3: [`13.15-postgis-3.4.2`, `13.15-postgis-3.4`, `13.15-postgis-3`, `13-postgis-3.4.2`, `13-postgis-3.4`, `13-postgis-3`, `13.15-bookworm-postgis-3.4.2`, `13.15-bookworm-postgis-3.4`, `13.15-bookworm-postgis-3`, `13-bookworm-postgis-3.4.2`, `13-bookworm-postgis-3.4`, `13-bookworm-postgis-3`](https://github.com/GUI/variant-docker/blob/main/13/bookworm/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`13.15-postgis-3.4.2-pgrouting-3.6.2`, `13.15-postgis-3.4-pgrouting-3.6.2`, `13.15-postgis-3-pgrouting-3.6.2`, `13-postgis-3.4.2-pgrouting-3.6.2`, `13-postgis-3.4-pgrouting-3.6.2`, `13-postgis-3-pgrouting-3.6.2`, `13.15-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `13.15-bookworm-postgis-3.4-pgrouting-3.6.2`, `13.15-bookworm-postgis-3-pgrouting-3.6.2`, `13-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `13-bookworm-postgis-3.4-pgrouting-3.6.2`, `13-bookworm-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/13/bookworm/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 13-bullseye
- PostGIS 3: [`13.15-bullseye-postgis-3.4.2`, `13.15-bullseye-postgis-3.4`, `13.15-bullseye-postgis-3`, `13-bullseye-postgis-3.4.2`, `13-bullseye-postgis-3.4`, `13-bullseye-postgis-3`](https://github.com/GUI/variant-docker/blob/main/13/bullseye/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`13.15-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `13.15-bullseye-postgis-3.4-pgrouting-3.6.2`, `13.15-bullseye-postgis-3-pgrouting-3.6.2`, `13-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `13-bullseye-postgis-3.4-pgrouting-3.6.2`, `13-bullseye-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/13/bullseye/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 12
- PostGIS 3: [`12.19-postgis-3.4.2`, `12.19-postgis-3.4`, `12.19-postgis-3`, `12-postgis-3.4.2`, `12-postgis-3.4`, `12-postgis-3`, `12.19-bookworm-postgis-3.4.2`, `12.19-bookworm-postgis-3.4`, `12.19-bookworm-postgis-3`, `12-bookworm-postgis-3.4.2`, `12-bookworm-postgis-3.4`, `12-bookworm-postgis-3`](https://github.com/GUI/variant-docker/blob/main/12/bookworm/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`12.19-postgis-3.4.2-pgrouting-3.6.2`, `12.19-postgis-3.4-pgrouting-3.6.2`, `12.19-postgis-3-pgrouting-3.6.2`, `12-postgis-3.4.2-pgrouting-3.6.2`, `12-postgis-3.4-pgrouting-3.6.2`, `12-postgis-3-pgrouting-3.6.2`, `12.19-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `12.19-bookworm-postgis-3.4-pgrouting-3.6.2`, `12.19-bookworm-postgis-3-pgrouting-3.6.2`, `12-bookworm-postgis-3.4.2-pgrouting-3.6.2`, `12-bookworm-postgis-3.4-pgrouting-3.6.2`, `12-bookworm-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/12/bookworm/postgis-3-pgrouting-3/Dockerfile)
- PostgreSQL 12-bullseye
- PostGIS 3: [`12.19-bullseye-postgis-3.4.2`, `12.19-bullseye-postgis-3.4`, `12.19-bullseye-postgis-3`, `12-bullseye-postgis-3.4.2`, `12-bullseye-postgis-3.4`, `12-bullseye-postgis-3`](https://github.com/GUI/variant-docker/blob/main/12/bullseye/postgis-3/Dockerfile)
- PostGIS 3 with pgRouting 3: [`12.19-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `12.19-bullseye-postgis-3.4-pgrouting-3.6.2`, `12.19-bullseye-postgis-3-pgrouting-3.6.2`, `12-bullseye-postgis-3.4.2-pgrouting-3.6.2`, `12-bullseye-postgis-3.4-pgrouting-3.6.2`, `12-bullseye-postgis-3-pgrouting-3.6.2`](https://github.com/GUI/variant-docker/blob/main/12/bullseye/postgis-3-pgrouting-3/Dockerfile)

## Image Variants

### `nickblah/postgis:-postgis-` or `ghcr.io/gui/postgis:-postgis-`
Provides PostgreSQL with PostGIS. Uses Debian Linux for base image.

### `nickblah/pgrouting:-postgis--pgrouting-` or `ghcr.io/gui/pgrouting:-postgis--pgrouting-`
Provides PostgreSQL with PostGIS and pgRouting. Uses Debian Linux for base image.