Tob1as / docker-postgresql-postgis

PostgreSQL with PostGIS - Docker Image for amd64, arm64, arm (Raspberry Pi)
https://hub.docker.com/r/tobi312/rpi-postgresql-postgis/
MIT License
15 stars 4 forks source link
database docker postgis postgres postgresql raspberry-pi

PostgreSQL with PostGIS on Raspberry Pi / ARM

Supported tags and respective Dockerfile links

* = set arch (amd64, arm64 or arm)

What is PostGIS?

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).

wikipedia.org/wiki/PostGIS and postgis.net

PostgreSQL, often simply "Postgres", is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance.

wikipedia.org/wiki/PostgreSQL and postgresql.org

logo

About these images:

How to use these images:

Docker-Compose

version: '2.4'
services:
  postgis:
    image: tobi312/rpi-postgresql-postgis:15-3.4-alpine-arm
    #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

This Image on