Files
maps-saas/infrastructure/docker/martin/config.yaml
T

19 lines
640 B
YAML

# Martin configuration file
# For more info: https://martin.maplibre.org/configuration/
# Define Postgres connection
# Note: Martin 0.14+ handles environment variables in the connection string
connection: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}"
# Enable automatic source detection for all tables in PostGIS
# This ensures planet_osm_point, planet_osm_line, etc. are served
# (Default is true, but explicit is better for diagnostic)
auto_publish:
from_postgis: true
# EXPOSE CUSTOM STYLES
# This allows https://tiles.intaleqapp.com/styles/style.json
styles:
style:
path: /etc/martin/style.json