Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.03 KB

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 .