docker build .
docker run -it --rm -v /path/to/map/data.osm.pbf:/data.osm.pbf freshleafmedia/osm-import
There are a couple of environment variables used to configure where the Postgis DB is and how to authenticate
DB_HOST
(default islocalhost
)DB_PORT
(default is 5432)DB_USER
(default isrenderer
)DB_PASSWORD
DB_NAME
(default isgis
)THREADS
How many threads to use while importing (defaults to the output ofnproc
)