Switch postgres image to use the official postgis image
This commit is contained in:
parent
786a643db4
commit
881247cf70
|
@ -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
|
# 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
|
RUN echo "host all all 0.0.0.0/0 md5" >> /var/lib/postgresql/data/pg_hba.conf
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
CREATE EXTENSION POSTGIS;
|
|
||||||
ALTER VIEW geometry_columns OWNER TO ckan;
|
ALTER VIEW geometry_columns OWNER TO ckan;
|
||||||
ALTER TABLE spatial_ref_sys OWNER TO ckan;
|
ALTER TABLE spatial_ref_sys OWNER TO ckan;
|
||||||
|
|
|
@ -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
|
# 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
|
RUN echo "host all all 0.0.0.0/0 md5" >> /var/lib/postgresql/data/pg_hba.conf
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
CREATE EXTENSION POSTGIS;
|
|
||||||
ALTER VIEW geometry_columns OWNER TO ckan;
|
ALTER VIEW geometry_columns OWNER TO ckan;
|
||||||
ALTER TABLE spatial_ref_sys OWNER TO ckan;
|
ALTER TABLE spatial_ref_sys OWNER TO ckan;
|
||||||
|
|
Loading…
Reference in New Issue