Skip to content

Commit 30c6096

Browse files
authored
feat: upgrade psql version to 13(#834)
1 parent b959531 commit 30c6096

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
postgres:
33
container_name: database
4-
image: postgis/postgis
4+
image: postgis/postgis:13-3.5
55
# Fix warning message on arm64 machines
66
platform: linux/amd64
77
healthcheck:
@@ -25,7 +25,7 @@ services:
2525
- local
2626
postgres-test:
2727
container_name: database_test
28-
image: postgis/postgis
28+
image: postgis/postgis:13-3.5
2929
# Fix warning message on arm64 machines
3030
platform: linux/amd64
3131
healthcheck:

infra/postgresql/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "google_service_networking_connection" "private_vpc_connection" {
5151

5252
resource "google_sql_database_instance" "db" {
5353
name = var.postgresql_instance_name
54-
database_version = "POSTGRES_12"
54+
database_version = "POSTGRES_13"
5555
region = var.gcp_region
5656
# This property protects the DB from deletion only for terraform commands
5757
# settings.deletion_protection_enabled protects the DB from deletion in the GCP console and GCP API

0 commit comments

Comments
 (0)