Merge pull request #69 from keitaroinc/change-postgis-image

Switch postgres image to use the official postgis image
This commit is contained in:
Blagoja Stojkoski 2022-02-02 17:43:41 +01:00 committed by GitHub
commit 3e792771eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM mdillon/postgis:11
FROM postgis/postgis:14-3.2-alpine
# Allow connections; we don't map out any ports so only linked docker containers can connect
RUN echo "host all all 0.0.0.0/0 md5" >> /var/lib/postgresql/data/pg_hba.conf

View File

@ -1,3 +1,2 @@
CREATE EXTENSION POSTGIS;
ALTER VIEW geometry_columns OWNER TO ckan;
ALTER TABLE spatial_ref_sys OWNER TO ckan;

View File

@ -1,4 +1,4 @@
FROM mdillon/postgis:11
FROM postgis/postgis:14-3.2-alpine
# Allow connections; we don't map out any ports so only linked docker containers can connect
RUN echo "host all all 0.0.0.0/0 md5" >> /var/lib/postgresql/data/pg_hba.conf

View File

@ -1,3 +1,2 @@
CREATE EXTENSION POSTGIS;
ALTER VIEW geometry_columns OWNER TO ckan;
ALTER TABLE spatial_ref_sys OWNER TO ckan;