Comments (8)
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.
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.
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.
@feikesteenbergen I have tested timescaledev/timescaledb-ha:pg11-ts1.5-postgis
in my single table test, seems to work fine.
from helm-charts.
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.
Would love to see this as well!
from helm-charts.
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.
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)
- `job-update-patroni` fails if http://{{ template "clusterName" . }}-config:8008/config is not ready, but it exits with success.
- Operation not permitted on `/var/lib/postgresql/pgdata` while using with Amazon EFS HOT 2
- Error in `restore_or_initdb.sh` while restoring a backup
- logs a full of failed to start a background worker HOT 9
- Add support for additional annotations in the statefulset object to support cert-manager/reloader integration
- Add pgbouncer_exporter to Statefulset HOT 1
- Implement option to specify an existing persistent volume in the PVC template HOT 2
- timescaledb ha : Password does not match for user "standby" HOT 3
- Cluster node restarted unexpectedly HOT 2
- Error: INSTALLATION FAILED: repo charts not found HOT 1
- pgbackrest info missing stanza path when BOOTSTRAP_FROM_BACKUP=1 HOT 1
- postgresql core dump crashes timescale database
- pgbackrest_restore.sh exits despite backup being enabled
- Unrecognized option '--comand=/etc/timescaledb/scripts/restore_or_initdb.sh' HOT 2
- timescaledb-single: How to restore from specific backup HOT 1
- timescaledb-single without persistent storage HOT 1
- Helm Chart support HOT 2
- [Bug]: Error - 128 kB is outside the valid range for parameter "maintenance_work_mem HOT 1
- Add CA to allow custom Certificates HOT 3
- Chart requires all images to be installed form one repo, which does not allow for custom images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.