A PostgreSQL docker image with pg_tle enabled.
-
Build the container with
docker build --tag postgres-pgtle . -
Stand up the container with
POSTGRES_PASSWORD="<your-password>" docker compose up. -
Connect to the database with
psql postgres://0.0.0.0:5430 -U postgreswith your password being the environment variable from above. -
Inside
psql, run\dx. You should seepgtlein there.