Skip to content

A PostgreSQL Docker image with support for GEOS 3.5 and PostGIS 2.2

Notifications You must be signed in to change notification settings

Sophox/postgis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostGIS + OSM-specific extensions Docker image

Docker Automated buil

This images is based on PostgreSQL 11 and PostGIS 2.5 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 osm with the owner osm and password osm and mount our local directory ./data as storage.

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

Build

docker build -t sophox/postgis .

About

A PostgreSQL Docker image with support for GEOS 3.5 and PostGIS 2.2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 79.2%
  • Dockerfile 20.8%