mirror of
https://github.com/maplibre/martin.git
synced 2024-12-21 05:41:55 +03:00
c1c59e158d
* feat: add ssl/tls support #63 * feat: add danger-accept-invalid-certs option * ci: switch to ekidd/rust-musl-builder:stable * ci: enable docker/build-push-action
80 lines
2.0 KiB
YAML
80 lines
2.0 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
|
|
|
|
# Trust invalid certificates. This introduces significant vulnerabilities, and should only be used as a last resort.
|
|
danger_accept_invalid_certs: 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
|