ci / api (push) Failing after 10s
ci / terraform (push) Failing after 11s
ci / web (push) Failing after 35s
ci / pipeline (push) Failing after 2m29s
ci / images (api) (push) Skipped
ci / images (ml) (push) Skipped
ci / images (pipeline) (push) Skipped
ci / images (web) (push) Skipped
End-to-end variant interpretation platform for rare genetic disease research: SvelteKit UI, FastAPI + PostgreSQL API, Nextflow/Ensembl VEP pipeline, LightGBM pathogenicity scoring with MLflow, K8s/ArgoCD/GCP infrastructure. Public test data only; no clinical claims.
30 lines
779 B
Terraform
30 lines
779 B
Terraform
resource "google_sql_database_instance" "pg" {
|
|
name = "rarelens-pg"
|
|
database_version = "POSTGRES_16"
|
|
region = var.region
|
|
deletion_protection = false
|
|
|
|
settings {
|
|
tier = "db-f1-micro" # lab budget; bump for real use
|
|
availability_type = "ZONAL"
|
|
backup_configuration { enabled = true }
|
|
ip_configuration {
|
|
ipv4_enabled = false
|
|
private_network = google_compute_network.vpc.id
|
|
}
|
|
}
|
|
}
|
|
|
|
resource "google_sql_database" "rarelens" {
|
|
name = "rarelens"
|
|
instance = google_sql_database_instance.pg.name
|
|
}
|
|
|
|
resource "google_sql_user" "api" {
|
|
name = "rarelens"
|
|
instance = google_sql_database_instance.pg.name
|
|
password = random_password.pg.result
|
|
}
|
|
|
|
resource "random_password" "pg" { length = 32 }
|