diff --git a/compose/2.8/postgresql/Dockerfile b/compose/2.8/postgresql/Dockerfile index d2dee7f..e5fcbb7 100644 --- a/compose/2.8/postgresql/Dockerfile +++ b/compose/2.8/postgresql/Dockerfile @@ -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 diff --git a/compose/2.8/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql b/compose/2.8/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql index 0eb2f85..8b5348e 100644 --- a/compose/2.8/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql +++ b/compose/2.8/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql @@ -1,3 +1,2 @@ -CREATE EXTENSION POSTGIS; ALTER VIEW geometry_columns OWNER TO ckan; ALTER TABLE spatial_ref_sys OWNER TO ckan; diff --git a/compose/2.9/postgresql/Dockerfile b/compose/2.9/postgresql/Dockerfile index d2dee7f..e5fcbb7 100644 --- a/compose/2.9/postgresql/Dockerfile +++ b/compose/2.9/postgresql/Dockerfile @@ -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 diff --git a/compose/2.9/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql b/compose/2.9/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql index 0eb2f85..8b5348e 100644 --- a/compose/2.9/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql +++ b/compose/2.9/postgresql/docker-entrypoint-initdb.d/20_postgis_permissions.sql @@ -1,3 +1,2 @@ -CREATE EXTENSION POSTGIS; ALTER VIEW geometry_columns OWNER TO ckan; ALTER TABLE spatial_ref_sys OWNER TO ckan;