diff --git a/docker-compose.yaml b/docker-compose.yaml index 84ce6501a..6537ec8d3 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ services: postgres: container_name: database - image: postgis/postgis + image: postgis/postgis:13-3.5 # Fix warning message on arm64 machines platform: linux/amd64 healthcheck: @@ -25,7 +25,7 @@ services: - local postgres-test: container_name: database_test - image: postgis/postgis + image: postgis/postgis:13-3.5 # Fix warning message on arm64 machines platform: linux/amd64 healthcheck: diff --git a/infra/postgresql/main.tf b/infra/postgresql/main.tf index f94ab6dd4..191931fd2 100644 --- a/infra/postgresql/main.tf +++ b/infra/postgresql/main.tf @@ -51,7 +51,7 @@ resource "google_service_networking_connection" "private_vpc_connection" { resource "google_sql_database_instance" "db" { name = var.postgresql_instance_name - database_version = "POSTGRES_12" + database_version = "POSTGRES_13" region = var.gcp_region # This property protects the DB from deletion only for terraform commands # settings.deletion_protection_enabled protects the DB from deletion in the GCP console and GCP API