summarylogtreecommitdiffstats
path: root/martin-config.yaml
blob: 080fb01415edda218dba140083ae23e530d79a2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Connection keep alive timeout [default: 75]
keep_alive: 75

# The socket address to bind [default: 0.0.0.0:3000]
listen_addresses: '0.0.0.0:3000'

# Number of web server workers
worker_processes: 8

# Amount of memory (in MB) to use for caching tiles [default: 512, 0 to disable]
cache_size_mb: 512

# see https://maplibre.org/martin/config-file.html

# postgres:
#   connection_string: 'postgresql://postgres@localhost:5432/db'
#   default_srid: 4326
#   pool_size: 20
#   max_feature_count: 1000
#   auto_bounds: skip

# pmtiles:
#   paths:
#     - /dir-path
#     - /path/to/pmtiles.pmtiles
#     - http://example.org/pmtiles.pmtiles
#   sources:
#     pm-src1: /path/to/pmtiles1.pmtiles
#     pm-web1: http://example.org/pmtiles1.pmtiles

# mbtiles:
#   paths:
#     - /dir-path
#     - /path/to/mbtiles.mbtiles
#   sources:
#     mb-src1: /path/to/mbtiles1.mbtiles

# sprites:
#   paths:
#     - /path/to/sprites_dir
#   sources:
#     sprite1: /path/to/sprites_dir2

# fonts:
#   - /path/to/font/file.ttf
#   - /path/to/font_dir

# styles:
#   paths:
#     - /path/to/styles_dir
#     - /path/to/maplibre_style.json
#   sources:
#     styles1: /path/to/styles_dir2