docker-postgis

A Dockerfile and image setup for running PostgreSQL with the PostGIS spatial extension. It makes it easy to start a geospatial database in a container.

Share on XLicense: GPL-2.0

Overview

docker-postgis is a Dockerfile and image setup for running PostgreSQL with the PostGIS spatial extension in a container. It gives you a geospatial database that is ready to use, for example with QGIS. The image supports SSL and enforces SSL client connections, restricts connections to the Docker subnet, and creates a default database named gis. The README covers running it with a terminal command or docker-compose.

Key features

  • PostgreSQL with PostGIS in one container
  • SSL support with SSL client connections enforced
  • Connections restricted to the Docker subnet
  • Default database named gis created on start
  • Run from the terminal or with docker-compose

Best for

Anyone who needs a quick PostGIS database for GIS desktop tools or development without installing it by hand.

Upstream
kartoza/docker-postgis
Fork on GitHub
Guo-astro/docker-postgis
Upstream stars
703
Category
Maps and geospatial
Language
Shell
License
GPL-2.0
Forked
2021-08-08
Sync status
In syncLast synced 2026-09-29