Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Latest commit

 

History

History
18 lines (15 loc) · 637 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 637 Bytes

Import SQL files into PostgreSQL Docker Automated buil

This Docker image will import all SQL files in a directory into PostgreSQL. It will also create all helper functions from postgis-vt-util for creating vector tiles.

Usage

docker run --rm \
    -v $(pwd):/sql \
    -e POSTGRES_USER="osm" \
    -e POSTGRES_PASSWORD="osm" \
    -e POSTGRES_HOST="127.0.0.1" \
    -e POSTGRES_DB="osm" \
    -e POSTGRES_PORT="5432" \
    openmaptiles/import-sql