Skip to content

Commit 1b47114

Browse files
author
mazano
authored
Merge pull request kartoza#334 from kartoza/upgrade_14
upgrade to PostgreSQL version 14
2 parents 3aaa206 + 2b27aa0 commit 1b47114

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

.example.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ LANG=en_US.UTF-8
1313
# locale filter to include in the locale generator
1414
LANGS="en_US.UTF-8,id_ID.UTF-8"
1515

16-
POSTGRES_MAJOR_VERSION=13
16+
POSTGRES_MAJOR_VERSION=14
1717
POSTGIS_MAJOR_VERSION=3
1818
POSTGIS_MINOR_RELEASE=1

.github/workflows/build-latest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
postgresMajorVersion:
27-
- 13
27+
- 14
2828
postgisMajorVersion:
2929
- 3
3030
postgisMinorRelease:
@@ -85,7 +85,7 @@ jobs:
8585
strategy:
8686
matrix:
8787
postgresMajorVersion:
88-
- 13
88+
- 14
8989
postgisMajorVersion:
9090
- 3
9191
postgisMinorRelease:

.github/workflows/deploy-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
matrix:
3131
postgresMajorVersion:
32-
- 13
32+
- 14
3333
postgisMajorVersion:
3434
- 3
3535
postgisMinorRelease:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ FROM postgis-base AS postgis-prod
6565

6666
# Reset ARG for version
6767
ARG IMAGE_VERSION
68-
ARG POSTGRES_MAJOR_VERSION=13
68+
ARG POSTGRES_MAJOR_VERSION=14
6969
ARG POSTGIS_MAJOR_VERSION=3
7070
ARG POSTGIS_MINOR_RELEASE=1
7171

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ volumes:
77
services:
88

99
db:
10-
image: kartoza/postgis:13-3.1
10+
image: kartoza/postgis:14-3.1
1111
volumes:
1212
- postgis-data:/var/lib/postgresql
1313
- dbbackups:/backups
@@ -26,7 +26,7 @@ services:
2626
test: "exit 0"
2727

2828
dbbackups:
29-
image: kartoza/pg-backup:13.0
29+
image: kartoza/pg-backup:14.0
3030
hostname: pg-backups
3131
volumes:
3232
- dbbackups:/backups

sample/logical_replication/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ volumes:
88

99
services:
1010
pg-publisher:
11-
image: kartoza/postgis:13.0
11+
image: kartoza/postgis:14-3.1
1212
restart: 'always'
1313
volumes:
1414
- pg-publisher-data-dir:/var/lib/postgresql
@@ -25,7 +25,7 @@ services:
2525
test: "exit 0"
2626

2727
pg-subscriber:
28-
image: kartoza/postgis:13.0
28+
image: kartoza/postgis:14-3.1
2929
restart: 'always'
3030
volumes:
3131
- pg-subscriber-data-dir:/var/lib/postgresql

sample/replication/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ volumes:
88

99
services:
1010
pg-master:
11-
image: 'kartoza/postgis:13.0'
11+
image: kartoza/postgis:14-3.1
1212
restart: 'always'
1313
# You can optionally mount to volume, to play with the persistence and
1414
# observe how the slave will behave after restarts.
@@ -35,7 +35,7 @@ services:
3535
test: "exit 0"
3636

3737
pg-slave:
38-
image: 'kartoza/postgis:13.0'
38+
image: kartoza/postgis:14-3.1
3939
restart: 'always'
4040
# You can optionally mount to volume, but we're not able to scale it
4141
# in that case.

scripts/setup-pg_hba.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ else
2525
if [[ "${SSL_KEY_FILE}" != '/etc/ssl/private/ssl-cert-snakeoil.key' ]]; then
2626
PG_CONF_HOST='hostssl'
2727
CERT_AUTH='cert'
28-
CLIENT_VERIFY=
28+
CLIENT_VERIFY='clientcert=verify-full'
2929
else
3030
# Used when using the default ssl certs
3131
PG_CONF_HOST='hostssl'
3232
CERT_AUTH=${PASSWORD_AUTHENTICATION}
33-
CLIENT_VERIFY='clientcert=0'
33+
CLIENT_VERIFY=
3434
fi
3535

3636
fi

0 commit comments

Comments
 (0)