latest
OR16
(Dockerfile) (Debian-based)
PostGIS is an open source software program that adds support for geographic objects to the PostgreSQL object-relational database. PostGIS follows the Simple Features for SQL specification from the Open Geospatial Consortium (OGC).
PostgreSQL, often simply "Postgres", is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance.
- based on official images: postgres
- build on Github Actions on a biweekly schedule
$ docker run --name some-postgis -v $(pwd)/postgis:/var/lib/postgresql/data -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d public.ecr.aws/bytecherry/docker-postgresql-postgis-arm64:16
- more see official PostgreSQL-Image and PostGIS-Image
services:
postgis:
image: public.ecr.aws/bytecherry/docker-postgresql-postgis-arm64:16
container_name: postgis
volumes:
- ./postgis:/var/lib/postgresql/data
#- /etc/timezone:/etc/timezone:ro
#- /etc/localtime:/etc/localtime:ro
environment:
POSTGRES_PASSWORD: mysecretpassword
#POSTGRES_DB: user
#POSTGRES_USER: user
restart: unless-stopped
ports:
- 5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 60s
timeout: 5s
retries: 5