mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 23:45:42 +03:00
5eeef48b30
Closes: #12
77 lines
1.9 KiB
YAML
77 lines
1.9 KiB
YAML
---
|
|
# Database connection string
|
|
connection_string: "postgres://postgres@localhost/test"
|
|
|
|
# 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"
|
|
|
|
# Maximum connections pool size [default: 20]
|
|
pool_size: 20
|
|
|
|
# Enable watch mode
|
|
watch: false
|
|
|
|
# Number of web server workers
|
|
worker_processes: 8
|
|
|
|
# associative arrays of table sources
|
|
table_sources:
|
|
public.table_source:
|
|
# table source id
|
|
id: public.table_source
|
|
# table schema
|
|
schema: public
|
|
# table name
|
|
table: table_source
|
|
# geometry column name
|
|
geometry_column: geom
|
|
# geometry srid
|
|
srid: 4326
|
|
# tile extent in tile coordinate space
|
|
extent: 4096
|
|
# buffer distance in tile coordinate space to optionally clip geometries
|
|
buffer: 64
|
|
# boolean to control if geometries should be clipped or encoded as is
|
|
clip_geom: true
|
|
# geometry type
|
|
geometry_type: GEOMETRY
|
|
# list of columns, that should be encoded as tile properties
|
|
properties:
|
|
gid: int4
|
|
|
|
public.points:
|
|
# table source id
|
|
id: public.points
|
|
# table schema
|
|
schema: public
|
|
# table name
|
|
table: points
|
|
# geometry column name
|
|
geometry_column: geom
|
|
# geometry srid
|
|
srid: 4326
|
|
# tile extent in tile coordinate space
|
|
extent: 4096
|
|
# buffer distance in tile coordinate space to optionally clip geometries
|
|
buffer: 64
|
|
# boolean to control if geometries should be clipped or encoded as is
|
|
clip_geom: true
|
|
# geometry type
|
|
geometry_type: GEOMETRY
|
|
# list of columns, that should be encoded as tile properties
|
|
properties:
|
|
gid: int4
|
|
|
|
# associative arrays of function sources
|
|
function_sources:
|
|
public.function_source:
|
|
# function source id
|
|
id: public.function_source
|
|
# schema name
|
|
schema: public
|
|
# function name
|
|
function: function_source
|