OpenStreetMap Tile Server
A single Docker container for self-hosting a production-ready OpenStreetMap tile server, bundling PostgreSQL, osm2pgsql, renderd, and Apache to import map…
Platform availability
Available on 1 of 10 platforms
- Unraid
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
36/100 Low
- Maintained
- 0last commit 1245 days ago
- Popular
- 631,454 GitHub stars
- Easy to install
- 351 install platform, install notes, Docker image
- Light to run
- 208 GB minimum RAM, runs on ARM
- Security check
- 85no serious findings, CI
Availability: platform listings confirmed today, links checked 53 days ago
- GitHub stars
- 1,454
- Open issues
- 97
- Last commit
- 2023-06-25
- Latest release
- v2.3.0
- License
- Apache-2.0
- Activity
- stale
Checked 20 days ago - source: GitHub (overv/openstreetmap-tile-server)
Resources & Compatibility
Minimum requirements: 8 GB RAM, 4 CPU core(s), 50 GB disk. ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Point the server at the app's .wsgi file Create a .wsgi file in wsgi-bin that imports the Flask app (the Python web framework the app uses) and assigns it to application; if needed, add the app's folder to sys.path so Python can find it. Without this entry point, the web server can't start the app, so the tile server won't work. source
- First run Before starting, place your .osm.pbf map file in the OSM Data path and set Post Arguments to import. After the import completes, change Post Arguments to run and restart. Download PBF map files from the Geofabrik website. source
Fetched 37 days ago - each note links to its source
Variants
Alternatives (12)
- Cartes - Open-source web maps platform featuring place search, street photos, and route planning for walking, cycling, public transit, and car-shari…
- CoMaps - CoMaps is a new community-driven map app project born out of the desire to create a truly open, transparent, and community-focused navigati…
- Google Earth - Explore Earth's vast landscapes and urban wonders with detailed satellite imagery, offline access, and ad-free experience.
- Google Maps - Navigate efficiently with real-time traffic updates, turn-by-turn GPS, panoramic street views, and comprehensive route planning for multipl…
- HERE WeGo - Free navigation app with offline maps for over 100 countries.
- MAPS.ME - MAPS.ME offers the quickest offline maps of all the countries of the world.
- MapTiler Cloud - Online maps for web, mobile apps and desktop software.
- Mapy.com - Global offline tourist maps feature hiking and bike trails, route planning, synced trip organization, panoramic images, public transit info…
- OpenStreetMap - OpenStreetMap is a free, open, community-edited world map and mapping platform.
- Organic Maps - Privacy-focused GPS app with offline maps and community development, featuring real-time navigation, no location tracking, and open-source…
- OsmAnd - Navigation app with offline and online OSM maps, turn-by-turn voice guidance, cycling and driving modes, GPX tracking, POI search, and mont…
- Waze - Real-time navigation with community-reported traffic and hazard alerts, voice guidance, and map editing, ensuring a smoother drive every da…
Checked 23 days ago - source: AlternativeTo
Common questions
How do I perform the initial map import in this Docker container?
Create a Docker volume, mount your .osm.pbf file as /data/region.osm.pbf, and run the container with import. Once the container exits without errors, run the container with run to start serving tiles.
Which Docker volume contains the map database?
The PostgreSQL database is stored in the osm-data Docker volume. That volume contains the imported OpenStreetMap data.
Can the tile server run on an isolated machine?
The run process does not require internet access, but the import process does. For an isolated system, import on an internet-connected machine, export the osm-data volume as a tarfile, and restore it on the target machine.
How do I enable automatic updates for a regional PBF?
Reference both the .osm.pbf and .poly files during import and set UPDATES=enabled. If you only have the .osm.pbf file and no .poly file, do not enable automatic updates.
Can the container download the map files instead of me mounting them?
Yes, the DOWNLOAD_PBF and DOWNLOAD_POLY parameters let the container download the files for you.
Answers sourced from github.com, github.com
Community
- Running a Tile Server Questions - Help and support - OpenStreetMap ... (other)
- Downloading a tileset and storing it locally? : r/openstreetmap - Reddit (reddit)
- Why is GeoServer not listed as a tile server on the OSM wiki? (reddit)
- Self Hosting a Google Maps Alternative with OpenStreetMap - Reddit (reddit)
- OpenStreetMap Community Forum - OSM Community Forum (other)
Collected 3 days ago - public community threads