A Docker image to export MBTiles (containing gzipped MVT PBF) from a TM2Source project. The TM2Source project usually references a database you need to link against this container.
You need to provide the database credentials and run generate-vectortiles
.
docker run --rm \
-v $(pwd)/project.tm2source:/tm2source \
-v $(pwd):/export \
-e POSTGRES_USER="osm" \
-e POSTGRES_PASSWORD="osm" \
-e POSTGRES_HOST="127.0.0.1" \
-e POSTGRES_DB="osm" \
-e POSTGRES_PORT="5432" \
openmaptiles/generate-vectortiles