Sign inSign up

itlaohuo/rpi-postgresql-postgis

By itlaohuo

•Updated over 1 year ago

PostgreSQL with PostGIS - Docker Image for amd64, arm64, arm (Raspberry Pi)

Image
0

176

itlaohuo/rpi-postgresql-postgis repository overview

⁠PostgreSQL with PostGIS on Raspberry Pi / ARM

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

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

logo

⁠About these images:
⁠How to use these images:
  • $ docker run --name some-postgis -v $(pwd)/postgis:/var/lib/postgresql/data -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d tobi312/rpi-postgresql-postgis:15-3.4-alpine-arm
  • more see official PostgreSQL⁠-Image and PostGIS⁠-Image
⁠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

Tag summary

Content type

Image

Digest

sha256:794c570a3…

Size

129.6 MB

Last updated

over 1 year ago

docker pull itlaohuo/rpi-postgresql-postgis:14-3.4-alpine-arm