Skip to content

ivanlonel/postgis-with-extensions

Repository files navigation

PostgreSQL image based on postgis/postgis, with quite a few added extensions

ivanlonel/postgis-with-extensions ivanlonel/postgis-with-extensions ivanlonel/postgis-with-extensions

Tag labels follow the pattern X-Y.Z, where X is the major Postgres version (starting from version 13) and Y.Z is the major.minor Postgis version.

The latest tag currently corresponds to 17-3.5.

Usage

In order to run a basic container capable of serving a Postgres database with all extensions below available:

docker run -e POSTGRES_PASSWORD=mysecretpassword -d ivanlonel/postgis-with-extensions

Here is a sample docker-compose stack definition, which includes a powa-web container and a pgadmin container. The Postgres container is built from a Dockerfile that extends this image by running localedef in order to ensure Postgres will use the locale specified in docker-compose.yml.

For more detailed instructions about how to start and control your Postgres container, see the documentation for the postgres image here.

Available extensions