diff --git a/.env.example b/.env.example index 26df8c5..d09ac3b 100644 --- a/.env.example +++ b/.env.example @@ -448,6 +448,7 @@ POSTGRES_ENTRYPOINT_INITDB=./postgres/docker-entrypoint-initdb.d ### POSTGRES-POSTGIS ############################################## +POSTGIS_VERSION=latest POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13=false ### SQS ############################################## diff --git a/docker-compose.yml b/docker-compose.yml index 0969ea8..2314b2a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -625,7 +625,7 @@ services: build: context: ./postgres-postgis args: - - POSTGRES_VERSION=${POSTGRES_VERSION} + - POSTGIS_VERSION=${POSTGIS_VERSION} - INSTALL_PGSQL_HTTP_FOR_POSTGIS13=${POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13} volumes: - ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data diff --git a/postgres-postgis/Dockerfile b/postgres-postgis/Dockerfile index a25ea78..90f2611 100644 --- a/postgres-postgis/Dockerfile +++ b/postgres-postgis/Dockerfile @@ -1,5 +1,5 @@ -ARG POSTGRES_VERSION=latest -FROM postgis/postgis:${POSTGRES_VERSION} +ARG POSTGIS_VERSION=latest +FROM postgis/postgis:${POSTGIS_VERSION} LABEL maintainer="Mahmoud Zalt "