GithubHelp home page GithubHelp logo

Comments (8)

lonelyleaf avatar lonelyleaf commented on May 26, 2024

well I managed to install postgis from source like below, but I still hope to have offical image 😀

FROM timescaledev/timescaledb-ha:pg11-ts1.5

USER root

ADD postgis-2.5.3.tar.gz /tmp

WORKDIR /tmp/postgis-2.5.3

#speed up in china
RUN sed -i "s@http://deb.debian.org@http://mirrors.163.com@g" /etc/apt/sources.list
RUN apt-get update && apt-get install -y \
        postgresql-server-dev-11 \
        libpq-dev \
        perl \
        file \
        libgeos-dev \
        libxml2-dev \
        libgdal-dev \
        libproj-dev \
        libprotobuf-c-dev \
        libjson-c-dev \
        gcc g++ \
        libjson-c-dev \
        make \
    && ./configure \
    && make -s \
    && make -s install \
    && rm -rf /var/lib/apt/lists/*
USER postgres

from helm-charts.

feikesteenbergen avatar feikesteenbergen commented on May 26, 2024

Thanks for the report! I think we'll provide a lean image (the one referenced) and a bigger image, containing postgis for example.

from helm-charts.

feikesteenbergen avatar feikesteenbergen commented on May 26, 2024

Could you try a Docker image I created to develop this?
I created a Docker image with the addition of postgis, here is a snippet of my values.yaml:

image:
  repository: timescaledev/timescaledb-ha
  tag: pg11-ts1.5-postgis
  pullPolicy: IfNotPresent

I included both postgis 2.5 and 3, so to install 2.5.3 (as in your example) you will need to be explicit, but for me this works:

postgres=# create extension postgis version "2.5.3";
CREATE EXTENSION
postgres=# SELECT postgis_full_version();
                                                                                                    postgis_full_version                                                                                             
       
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
 POSTGIS="2.5.3 r17699" [EXTENSION] PGSQL="110" GEOS="3.7.1-CAPI-1.11.1 27a5e771" PROJ="Rel. 5.2.0, September 15th, 2018" GDAL="GDAL 2.4.0, released 2018/12/14" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.3.1" 
RASTER
(1 row)

from helm-charts.

lonelyleaf avatar lonelyleaf commented on May 26, 2024

@feikesteenbergen I have tested timescaledev/timescaledb-ha:pg11-ts1.5-postgis in my single table test, seems to work fine.

from helm-charts.

feikesteenbergen avatar feikesteenbergen commented on May 26, 2024

As of the next scheduled release of TimescaleDB I intend to have a PostGis Docker image available.

Would require some documentation updates to help you out, but after that I think this issue is addressed.

from helm-charts.

laurids-reichardt avatar laurids-reichardt commented on May 26, 2024

Would love to see this as well!

from helm-charts.

feikesteenbergen avatar feikesteenbergen commented on May 26, 2024

The Docker image is now going to be built regularly, including postgis. Still need to update the documentation, for now, if you use the following docker image with 1.5.1 of the Helm Charts you should be good:

timescaledev/timescaledb-ha:pg11-ts1.6-postgis

@laurids-reichardt @lonelyleaf

from helm-charts.

feikesteenbergen avatar feikesteenbergen commented on May 26, 2024

For now we decided to include PostGIS in all the timescaledb-docker-ha images, to reduce the number of variants we have to build.

New images are being built and after a smoke test I expect them to be available within < 24 hours.
They include PostgreSQL 11.7 as well.

from helm-charts.

Related Issues (20)

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.