Skip to content

versatiles-org/versatiles-docker

Repository files navigation

License

VersaTiles Docker

Docker images for VersaTiles - a fast map tile server. This repository contains Dockerfiles and GitHub workflows for building and publishing production-ready Docker images.

Quick Start

Get up and running in seconds:

# Pull and run a map server with web frontend
docker run -p 8080:8080 -v $(pwd):/data \
  versatiles/versatiles-frontend:latest osm.versatiles

Open http://localhost:8080/ in your browser to view your map.

Prerequisites

Which Image Should I Use?

Image Use Case When to Choose
versatiles-frontend Map server with web interface Best for most users - includes everything you need to serve and view maps
versatiles Just the binary You only need the CLI tool or want the smallest possible image
versatiles-nginx Production deployment You need TLS/SSL, caching, reverse proxy, or Let's Encrypt certificates
versatiles-gdal Convert geodata formats You're working with geospatial data formats (GeoTIFF, Shapefile, etc.)
versatiles-tilemaker Generate tiles from OSM You want to create custom map tiles from OpenStreetMap data
versatiles-tippecanoe Generate vector tiles You need to convert GeoJSON to vector tiles

Images

Getting Started

versatiles

Minimal image containing only the versatiles binary.

Docker Hub Pulls

OS Version Image Size
Alpine Docker Image version versatiles/alpine Docker Image size versatiles/alpine
Scratch Docker Image version versatiles/scratch Docker Image size versatiles/scratch
Debian Docker Image version versatiles/debian Docker Image size versatiles/debian

Example usage:

# Download and crop map data to Paris
docker run -it --rm -v $(pwd):/data versatiles/versatiles:latest \
  convert --bbox-border 3 --bbox "2.224,48.815,2.47,48.903" \
  "https://download.versatiles.org/osm.versatiles" "paris.versatiles"

versatiles-frontend

Map server bundled with the versatiles-frontend web interface.

Docker Hub Pulls

OS Version Image Size
Alpine Docker Image version versatiles-frontend/alpine Docker Image size versatiles-frontend/alpine
Scratch Docker Image version versatiles-frontend/scratch Docker Image size versatiles-frontend/scratch
Debian Docker Image version versatiles-frontend/debian Docker Image size versatiles-frontend/debian

Example usage:

# Serve tiles with web interface
docker run -d -p 8080:8080 -v $(pwd):/data:ro \
  versatiles/versatiles-frontend:latest osm.versatiles

Production

versatiles-nginx

Production-ready setup with nginx reverse proxy and automatic Let's Encrypt SSL certificates via certbot.

Docker Hub Pulls

OS Version Image Size
Alpine Docker Image version versatiles-nginx Docker Image size versatiles-nginx

Tile Generation

versatiles-gdal

VersaTiles combined with GDAL for working with geospatial data formats.

Docker Hub Pulls

OS Version Image Size
Debian Docker Image version versatiles-gdal Docker Image size versatiles-gdal

versatiles-tilemaker

Generate vector tiles from OpenStreetMap data using tilemaker.

Docker Hub Pulls

OS Version Image Size
Debian Docker Image version versatiles-tilemaker Docker Image size versatiles-tilemaker

versatiles-tippecanoe

Create vector tiles from GeoJSON using Felt's tippecanoe.

Docker Hub Pulls

OS Version Image Size
Alpine Docker Image version versatiles-tippecanoe Docker Image size versatiles-tippecanoe

Documentation

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

Support

License

Distributed under the MIT License. See individual image directories for more details.

About

Docker images and build scripts for the VersaTiles ecosystem.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors