2018-10-12 18:18:34 +03:00
|
|
|
---
|
2019-03-16 18:53:12 +03:00
|
|
|
# Database connection string
|
|
|
|
connection_string: "postgres://postgres@localhost/test"
|
2019-02-04 13:39:57 +03:00
|
|
|
|
|
|
|
# Connection keep alive timeout [default: 75]
|
2018-10-12 18:18:34 +03:00
|
|
|
keep_alive: 75
|
2019-02-04 13:39:57 +03:00
|
|
|
|
2019-03-16 18:53:12 +03:00
|
|
|
# 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
|
|
|
|
|
2020-06-02 09:49:21 +03:00
|
|
|
# Trust invalid certificates. This introduces significant vulnerabilities, and should only be used as a last resort.
|
|
|
|
danger_accept_invalid_certs: false
|
|
|
|
|
2019-02-04 13:39:57 +03:00
|
|
|
# Number of web server workers
|
2018-10-12 18:18:34 +03:00
|
|
|
worker_processes: 8
|
|
|
|
|
2019-02-04 13:39:57 +03:00
|
|
|
# associative arrays of table sources
|
2018-10-12 18:18:34 +03:00
|
|
|
table_sources:
|
|
|
|
public.table_source:
|
2019-02-04 13:39:57 +03:00
|
|
|
# table source id
|
2018-10-12 18:18:34 +03:00
|
|
|
id: public.table_source
|
2019-02-04 13:39:57 +03:00
|
|
|
# table schema
|
2018-10-12 18:18:34 +03:00
|
|
|
schema: public
|
2019-02-04 13:39:57 +03:00
|
|
|
# table name
|
2018-10-12 18:18:34 +03:00
|
|
|
table: table_source
|
2019-02-04 13:39:57 +03:00
|
|
|
# geometry column name
|
2018-10-12 18:18:34 +03:00
|
|
|
geometry_column: geom
|
2019-02-04 13:39:57 +03:00
|
|
|
# geometry srid
|
2018-10-12 18:18:34 +03:00
|
|
|
srid: 4326
|
2019-02-04 13:39:57 +03:00
|
|
|
# tile extent in tile coordinate space
|
2018-10-12 18:18:34 +03:00
|
|
|
extent: 4096
|
2019-02-04 13:39:57 +03:00
|
|
|
# buffer distance in tile coordinate space to optionally clip geometries
|
2018-10-12 18:18:34 +03:00
|
|
|
buffer: 64
|
2019-02-04 13:39:57 +03:00
|
|
|
# boolean to control if geometries should be clipped or encoded as is
|
2018-10-12 18:18:34 +03:00
|
|
|
clip_geom: true
|
2019-02-04 13:39:57 +03:00
|
|
|
# geometry type
|
2018-10-12 18:18:34 +03:00
|
|
|
geometry_type: GEOMETRY
|
2019-02-04 13:39:57 +03:00
|
|
|
# list of columns, that should be encoded as tile properties
|
2018-10-12 18:18:34 +03:00
|
|
|
properties:
|
|
|
|
gid: int4
|
|
|
|
|
|
|
|
public.points:
|
2019-02-04 13:39:57 +03:00
|
|
|
# table source id
|
2018-10-12 18:18:34 +03:00
|
|
|
id: public.points
|
2019-02-04 13:39:57 +03:00
|
|
|
# table schema
|
2018-10-12 18:18:34 +03:00
|
|
|
schema: public
|
2019-02-04 13:39:57 +03:00
|
|
|
# table name
|
2018-10-12 18:18:34 +03:00
|
|
|
table: points
|
2019-02-04 13:39:57 +03:00
|
|
|
# geometry column name
|
2018-10-12 18:18:34 +03:00
|
|
|
geometry_column: geom
|
2019-02-04 13:39:57 +03:00
|
|
|
# geometry srid
|
2018-10-12 18:18:34 +03:00
|
|
|
srid: 4326
|
2019-02-04 13:39:57 +03:00
|
|
|
# tile extent in tile coordinate space
|
2018-10-12 18:18:34 +03:00
|
|
|
extent: 4096
|
2019-02-04 13:39:57 +03:00
|
|
|
# buffer distance in tile coordinate space to optionally clip geometries
|
2018-10-12 18:18:34 +03:00
|
|
|
buffer: 64
|
2019-02-04 13:39:57 +03:00
|
|
|
# boolean to control if geometries should be clipped or encoded as is
|
2018-10-12 18:18:34 +03:00
|
|
|
clip_geom: true
|
2019-02-04 13:39:57 +03:00
|
|
|
# geometry type
|
2018-10-12 18:18:34 +03:00
|
|
|
geometry_type: GEOMETRY
|
2019-02-04 13:39:57 +03:00
|
|
|
# list of columns, that should be encoded as tile properties
|
2018-10-12 18:18:34 +03:00
|
|
|
properties:
|
|
|
|
gid: int4
|
|
|
|
|
2019-02-04 13:39:57 +03:00
|
|
|
# associative arrays of function sources
|
2018-10-12 18:18:34 +03:00
|
|
|
function_sources:
|
|
|
|
public.function_source:
|
2019-02-04 13:39:57 +03:00
|
|
|
# function source id
|
2018-10-12 18:18:34 +03:00
|
|
|
id: public.function_source
|
2019-02-04 13:39:57 +03:00
|
|
|
# schema name
|
2018-10-12 18:18:34 +03:00
|
|
|
schema: public
|
2019-02-04 13:39:57 +03:00
|
|
|
# function name
|
|
|
|
function: function_source
|