Skip to content

Commit

Permalink
feat: upgrade psql version to 13(#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
cka-y authored Nov 26, 2024
1 parent b959531 commit 30c6096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion infra/postgresql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30c6096

Please sign in to comment.