Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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