From the project:
A PostGIS-only tile server in Go. Strip away all the other requirements, it just has to take in HTTP tile requests and form and execute SQL. In a sincere act of flattery, the API looks a lot like that of the Martin tile server.
Pg_tileserv with Container Apps Quickstart
First ensure you have Container Apps enabled with
CREATE EXTENSION pgpodman;. Once enabled you’ll need your DATABASE_URL from Crunchy Bridge to include in the command. To start your pg_tileserv you can run:
SELECT run_container('-dt -p 5433:5433/tcp -e DATABASE_URL="<DATABASE_URL>" -e TS_HTTPPORT=5433 docker.io/pramsey/pg_tileserv:latest');
Now you can visit your running pg_tileserv at your hostname:5433.