OpenStreetMap-Tile-Server

OpenStreetMap-Tile-Server

Docker-Anwendung from chrislb's Repository

Übersicht

A production-ready OpenStreetMap tile server running inside a single Docker container. Includes PostgreSQL, osm2pgsql, renderd, and Apache. FIRST RUN: Set Post Arguments to [import] and place your .osm.pbf file in the OSM Data path before starting. After import completes, change Post Arguments to [run] and restart. Download map data (PBF files) from https://download.geofabrik.de/

Laufzeit-Argumente

Web-UI
http://[IP]:[PORT:80]/
Netzwerk
bridge
Shell
bash
Privilegiert
false

Konfiguration der Vorlage

Web UI PortPorttcp

HTTP port for tile server and slippy map demo.

Ziel
80
Standard
8080
Wert
8080
Database StoragePathrw

PostgreSQL database storage. Requires significant disk space depending on region size.

Ziel
/data/database/
Standard
/mnt/user/appdata/osm-tile-server/database
Wert
/mnt/user/appdata/osm-tile-server/database
Tile CachePathrw

Rendered map tile cache storage.

Ziel
/data/tiles/
Standard
/mnt/user/appdata/osm-tile-server/tiles
Wert
/mnt/user/appdata/osm-tile-server/tiles
OSM Data (PBF Import)Pathro

Path to your .osm.pbf file downloaded from Geofabrik. Only needed on first run (import mode).

Ziel
/data/region.osm.pbf
Standard
/mnt/user/appdata/osm-tile-server/data/region.osm.pbf
Wert
/mnt/user/appdata/osm-tile-server/data/region.osm.pbf
Custom StylePathrw

Optional: Mount a custom CartoCSS/Mapnik style directory.

Ziel
/data/style/
Standard
/mnt/user/appdata/osm-tile-server/style
Wert
/mnt/user/appdata/osm-tile-server/style
Osmosis State (Live Updates)Pathrw

Required only if UPDATES is set to enabled.

Ziel
/data/osmosis/
Standard
/mnt/user/appdata/osm-tile-server/osmosis
Wert
/mnt/user/appdata/osm-tile-server/osmosis
Render ThreadsVariable

Number of threads used for rendering tiles. Match to your CPU core count.

Ziel
THREADS
Standard
4
Wert
4
Live OSM UpdatesVariable

Set to [enabled] to keep the map updated via OSM diffs. Requires the Osmosis path to be set.

Ziel
UPDATES
Standard
disabled
Wert
disabled
Allow CorsVariable

Set to 1 to enable CORS headers (useful when embedding tiles in web apps).

Ziel
ALLOW_CORS
Standard
1
Wert
1

Statistik herunterladen

3,476,321
Downloads insgesamt
12,493
Dieser Monat
12,493
Durchschnittlich / Monat

Gesamte Downloads im Laufe der Zeit

Tabelle laden...

Einzelheiten

Repository
overv/openstreetmap-tile-server
Zuletzt aktualisiert2025-11-10
Erstmals gesehen2026-03-29

Führen Sie OpenStreetMap-Tile-Server auf Unraid aus.

OpenStreetMap-Tile-Server ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.