Git Product home page Git Product logo

postgis's Introduction

postgis

Providing postgis image for linux/amd64 and linux/arm64, based on the code copied from postgis/docker-postgis.

Motivation

Official postgis/postgis image only provides image for linux/amd64, so when using postgis, docker compose up --build on linux/arm64 fails. Postgis does not provide linux/arm64 image until now, even though the issue reported in Dec. 2020.
Copying Dockerfile and building image locally will solve this issue, but every new release of postgis will delete previous version and fails RUN apt-get update in Dockerfile.
Creating and publishing a Docker image using Github packages allows us to handle this and provide a fixed-version postgis package.

Versions used in this image

Postgres 13-bullseye
Postgis 3.2.3

LICENSES

Source code of this image was taken from postgis/docker-postgis, Copyright 2014 Original Authors. This package is licensed under the MIT license. See docker-postgis/LICENSE for details.

How to use

After following the Quickstart with Docker guide, add postgis to services like below.

version: '3.7'
services:
  postgres:
    image: ghcr.io/wasd-inc/postgis
    environment:
      POSTGRES_USER: ...
      POSTGRES_PASSWORD: ...
      POSTGRES_DB: ...
    volumes:
      - db-data:/var/lib/postgresql/data
    ports:
      - 5432:5432
    healthcheck: ...
volumes:
  db_data:

postgis's People

Contributors

iliss557 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.