Sign inSign up

openmaptiles/postgis

By openmaptiles

Updated 6 months ago

A PostgreSQL Docker image with support for GEOS 3.9.0 and PostGIS 3.2

Image
9

100K+

openmaptiles/postgis repository overview

PostgreSQL 14 with GEOS 3.9.0 and PostGIS 3.2

Docker Automated buil

This images is based on PostgreSQL 14 and PostGIS 3.2 Docker image and includes osml10n extension - OSM-specific label manipulation support.

Usage

Run a PostgreSQL container and mount it to a persistent data directory outside.

In this example we start up the container and create a database openmaptiles with the owner openmaptiles and password openmaptiles and mount our local directory ./data as storage.

docker run \
    -v $(pwd)/data:/var/lib/postgresql/data \
    -e POSTGRES_DB="openmaptiles" \
    -e POSTGRES_USER="openmaptiles" \
    -e POSTGRES_PASSWORD="openmaptiles" \
    -d openmaptiles/postgis
Environment Variables

Unlike all other OpenMapTiles repositories, this repo uses a different set of environment variables to initialize the database - POSTGRES_*. See (full documentation](https://hub.docker.com/_/postgres/).

Build

docker build -t openmaptiles/postgis .

Tag summary

Content type

Image

Digest

sha256:ab23c4b81

Size

332.9 MB

Last updated

6 months ago

docker pull openmaptiles/postgis