Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
Go to file
Yuri Astrakhan fbb282dcb7
Improve SSL support (#567)
This is a partial fix for #496

* BREAKING: Now Martin behaves the same way as `psql` -- by default, if
SSL is available on the server, it will be used, even though it will not
verify that the server has a valid SSL certificate
* Martin now understands `PGSSLCERT`, `PGSSLKEY`, and `PGSSLROOTCERT`
env vars (and corresponding config keys) - same as psql.
* Martin can now process `?sslmode=verify-ca` and `verify-full` (just
like psql). The verify modes require root and/or client cert & key.
* remove `danger_accept_invalid_certs` -- turns out that behavior is
expected by default unless ssl mode is set to verify - which upstream
lib [does not
support](https://github.com/sfackler/rust-postgres/issues/768) - PR
[submitted](https://github.com/sfackler/rust-postgres/pull/988).
* added connection_timeout_ms option for postgres and set it to 5
seconds by default. This way it will fail out earlier.
* added error reporting to bb8 - but it is currently [broken
upstream](https://github.com/djc/bb8/issues/151) - not sure we can fix
it easily, so may need to switch to deadpool later.
* added docker-based TLS test (horray!) - wasn't trivial at all, despite
ending up fairly simple.
2023-02-06 14:32:28 -05:00
.cargo Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
.cargo-husky/hooks bump to 0.6.2 2022-12-13 20:14:07 -05:00
.github Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
benches Require PostGIS 3 and use ST_TileEnvelope (#497) 2022-11-30 18:57:27 +02:00
martin-mbtiles Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
martin-tile-utils Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
src Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
tests tests, report unknown cfg, rm catalog vector flds (#551) 2023-01-12 11:48:15 -05:00
.dockerignore Improve Coverage tooling (#535) 2022-12-27 06:56:27 +00:00
.gitignore Refactorings, content-type/enc, cli parsing, tests, minor fixes (#548) 2023-01-08 16:31:58 +02:00
Cargo.lock Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
Cargo.toml Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
CHANGELOG.md Migrate some urbica/martin -> maplibre/martin (#347) 2022-06-11 10:51:41 +03:00
CODE_OF_CONDUCT.md feat: clean up readme and code of conduct (#382) 2022-08-11 07:06:12 -04:00
docker-compose.yml Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
Dockerfile Docker improvements and CI tests (#472) 2022-11-02 19:00:05 +01:00
justfile Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
LICENSE-APACHE Clean up licensing per on-boarding (#364) 2022-07-06 08:25:45 -04:00
LICENSE-MIT Clean up licensing per on-boarding (#364) 2022-07-06 08:25:45 -04:00
logo.png docs: ✏️ add notes on debugging 2019-02-04 20:22:04 +03:00
nginx.conf fix: tiles attribute in tilejson with x-rewrite-url (#266) 2021-10-15 18:19:36 +03:00
README-main.md Improve SSL support (#567) 2023-02-06 14:32:28 -05:00
README.md Move README to another file 2022-12-28 22:34:31 -05:00
release.toml docs: update CHANGELOG.md 2021-10-18 16:15:26 +03:00
rustfmt.toml sort use-statements during fmt (#376) 2022-08-06 12:48:10 -04:00
SECURITY_POLICY.txt Create SECURITY_POLICY.txt (#489) 2023-02-04 19:06:17 -05:00

Martin

CI Security audit Docker pulls

Martin is a PostGIS vector tiles server suitable for large databases. Martin is written in Rust using Actix web framework.


  • See documentation for v0.6 (latest stable).

  • If you want to see our unreleased version documentation, go here, but it may change.