All Projects → postgis → Docker Postgis

postgis / Docker Postgis

Licence: mit
Docker image for PostGIS

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Docker Postgis

Postgresql Postgis Timescaledb
PostgreSQL + PostGIS + TimescaleDB docker image 🐘🌎📈
Stars: ✭ 19 (-97.69%)
Mutual labels:  postgis, postgresql, docker-image
Baremaps
Custom vector tiles from OpenStreetMap and other data sources.
Stars: ✭ 100 (-87.82%)
Mutual labels:  postgis, postgresql
Postgis
PostGIS spatial database extension to PostgreSQL [mirror]
Stars: ✭ 925 (+12.67%)
Mutual labels:  postgis, postgresql
Php Crud Api
Single file PHP script that adds a REST API to a SQL database
Stars: ✭ 2,904 (+253.71%)
Mutual labels:  postgis, postgresql
Choochoo
Training Diary
Stars: ✭ 186 (-77.34%)
Mutual labels:  postgresql, docker-image
Docker Postgres
A docker container running PostgreSQL
Stars: ✭ 22 (-97.32%)
Mutual labels:  postgis, postgresql
Mobilitydb
MobilityDB is a geospatial trajectory data management & analysis platform, built on PostgreSQL and PostGIS.
Stars: ✭ 229 (-72.11%)
Mutual labels:  postgis, postgresql
Spilo
Highly available elephant herd: HA PostgreSQL cluster using Docker
Stars: ✭ 776 (-5.48%)
Mutual labels:  postgresql, docker-image
Pg timetable
pg_timetable: Advanced scheduling for PostgreSQL
Stars: ✭ 382 (-53.47%)
Mutual labels:  postgresql, docker-image
Tasking Manager
Tasking Manager - The tool to team up for mapping in OpenStreetMap
Stars: ✭ 328 (-60.05%)
Mutual labels:  postgis, postgresql
Docker Laravel
🐳 Docker Images for Laravel development
Stars: ✭ 101 (-87.7%)
Mutual labels:  postgresql, docker-image
Activerecord Postgis Adapter
ActiveRecord connection adapter for PostGIS, based on postgresql and rgeo
Stars: ✭ 746 (-9.14%)
Mutual labels:  postgis, postgresql
Aws Lambda Swift Sprinter
AWS Lambda Custom Runtime for Swift with swift-nio 2.0 support
Stars: ✭ 70 (-91.47%)
Mutual labels:  postgresql, docker-image
Doctrine Postgis
Spatial and Geographic Data with PostGIS and Doctrine.
Stars: ✭ 161 (-80.39%)
Mutual labels:  postgis, postgresql
Atlas Of Thrones
An interactive "Game of Thrones" map powered by Leaflet, PostGIS, and Redis.
Stars: ✭ 253 (-69.18%)
Mutual labels:  postgis, postgresql
Martin
Blazing fast and lightweight PostGIS vector tiles server
Stars: ✭ 540 (-34.23%)
Mutual labels:  postgis, postgresql
Metasfresh
We do Open Source ERP - Fast, Flexible & Free Software to scale your Business.
Stars: ✭ 807 (-1.71%)
Mutual labels:  postgresql, docker-image
Flannel
flannel is a network fabric for containers, designed for Kubernetes
Stars: ✭ 6,905 (+741.05%)
Mutual labels:  docker-image
Pizzly
The simplest, fastest way to integrate your app with an OAuth API 😋
Stars: ✭ 796 (-3.05%)
Mutual labels:  postgresql
Short
URL shortening service written in Go and React
Stars: ✭ 777 (-5.36%)
Mutual labels:  postgresql

postgis/postgis

Build Status Join the chat at https://gitter.im/postgis/docker-postgis

The postgis/postgis image provides tags for running Postgres with PostGIS extensions installed. This image is based on the official postgres image and provides debian and alpine variants for PostGIS both 2.5.x and 3.1.x for each supported version of Postgres (9.5, 9.6, 10, 11, 12 and 13). Additionally, an image version is provided which is built from the latest version of Postgres (13) with versions of PostGIS and its dependencies built from their respective master branches.

This image ensures that the default database created by the parent postgres image will have the following extensions installed:

  • postgis
  • postgis_topology
  • fuzzystrmatch
  • postgis_tiger_geocoder

Unless -e POSTGRES_DB is passed to the container at startup time, this database will be named after the admin user (either postgres or the user specified with -e POSTGRES_USER). If you would prefer to use the older template database mechanism for enabling PostGIS, the image also provides a PostGIS-enabled template database called template_postgis.

Usage

In order to run a basic container capable of serving a PostGIS-enabled database, start a container as follows:

docker run --name some-postgis -e POSTGRES_PASSWORD=mysecretpassword -d postgis/postgis

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

Once you have started a database container, you can then connect to the database as follows:

docker run -it --link some-postgis:postgres --rm postgres \
    sh -c 'exec psql -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U postgres'

See the PostGIS documentation for more details on your options for creating and using a spatially-enabled database.

Known Issues / Errors

When You encouter errors due to PostGIS update OperationalError: could not access file "$libdir/postgis-X.X, run:

docker exec some-postgis update-postgis.sh

It will update to Your newest PostGIS. Update is idempotent, so it won't hurt when You run it more than once, You will get notification like:

Updating PostGIS extensions template_postgis to X.X.X
NOTICE:  version "X.X.X" of extension "postgis" is already installed
NOTICE:  version "X.X.X" of extension "postgis_topology" is already installed
NOTICE:  version "X.X.X" of extension "postgis_tiger_geocoder" is already installed
ALTER EXTENSION
Updating PostGIS extensions docker to X.X.X
NOTICE:  version "X.X.X" of extension "postgis" is already installed
NOTICE:  version "X.X.X" of extension "postgis_topology" is already installed
NOTICE:  version "X.X.X" of extension "postgis_tiger_geocoder" is already installed
ALTER EXTENSION
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].