rd13_tile_server/config/martin.yaml

31 lines
996 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Martin Tile Server Konfiguration
# Dokumentation: https://maplibre.org/martin/
listen_addresses: "0.0.0.0:3000"
keep_alive: 75
worker_processes: 4
preferred_encoding: gzip
# Auto-Discovery: alle *.mbtiles und *.pmtiles aus /data laden
# osm.mbtiles -> Source-ID: osm -> /{z}/{x}/{y} unter /osm/
# satellite.mbtiles -> Source-ID: satellite -> /{z}/{x}/{y} unter /satellite/
mbtiles:
paths:
- /data
# MapLibre GL Styles aus /data/styles/ servieren
# -> GET /style/{id} (Style-JSON fuer MapLibre GL Clients)
# -> GET /style/{id}/{z}/{x}/{y}.png|jpg (serverseitig gerenderte Raster-Tiles)
styles:
paths:
- /data/styles
rendering: true
# Sprites (Icons, Pins, Marker) aus /data/sprites/
# -> GET /sprites/{id}.json und /sprites/{id}.png
sprites:
- /data/sprites
# Hinweis: Martin erwartet im fonts.paths Verzeichnis TTF/OTF Font-Dateien.
# In diesem Stack liegen bereits vorberechnete PBF-Glyph-Ranges in /data/fonts,
# daher bleibt fonts hier deaktiviert.